info-cvs
[Top][All Lists]
Advanced

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

Re: CVS checkout, excluding some files??


From: Todd Denniston
Subject: Re: CVS checkout, excluding some files??
Date: Wed, 30 Oct 2002 12:05:26 -0500

mmala wrote:
> 
> Hi
> 
> Is there anyway to checkout the repository such that I
> can exclude some files?These files are needed for an
> older release but in the current version they are not
> needed.I know we can make a branch, but is there any
> other method to exclude just some files from
> checkout?They are in different directories.
> 
> Thanks,
> Jeeva Sarma
> 

If the tag for the older release (you did tag the release, didn't you?) is only
on the files you need, cvs checkout -rreleasetag will only get those files (as
they were at the time of the release).  I have used this method to get sets of
files from a general test script baseline, where I just need a subset of those
files for a formal test, i.e. I only tag the ones I know will be used during
the formal test, then do a 
cvs checkout -rformal_test_tagN module

 If you need the files as they currently are I suppose you could do some kind
of find in the checked out directory and pipe that to a cvs update -A <fnames>,
as someone earlier noted an update would probably get all the other files too.

-- 
I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you.
        -- Vance Petree, Virginia Power




reply via email to

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