info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recursive add


From: Alex Shinn
Subject: Re: recursive add
Date: 17 Dec 2001 11:36:26 +0900
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

>>>>> "Karl" == Karl E Jorgensen <address@hidden> writes:

    Karl> On Fri, Dec 14, 2001 at 03:03:34PM +0900, Alex Shinn wrote:
    >> Is there a way to recursively add directory hierarchies in cvs?
    >> 
    >> The manual says to use import in this case, but that doesn't do
    >> what I want since I'm trying to add within a branch.  Even if I
    >> specify the releasetag as an existing branch release, the files
    >> get imported into the main branch as well.

    Karl> What about something like:

    Karl> $ find . -type d -print | grep -v CVS| xargs cvs add

    Karl> followed by

    Karl> $ find . -type f -print | grep -v CVS | xargs cvs add

    Karl> (assuming that all files are text) ??

Well, not all text, but I ended up doing something like this with
File::Find.

Thanks for the help Larry and Karl.  Next question: can you add a tag
within a branch (not a sub-branch)?

-- 
Alex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]