info-cvs
[Top][All Lists]
Advanced

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

Re: cvs update


From: Derek R. Price
Subject: Re: cvs update
Date: Wed, 21 Mar 2001 16:45:17 -0500

"David H. Thornley" wrote:

> "Derek R. Price" wrote:
> >
> > Eric Siegerman wrote:
> >
> > > On Wed, Mar 21, 2001 at 02:54:18PM -0500, Derek R. Price wrote:
> > > > Rui Cordeiro wrote:
> > > >
> > > > > Is there any option to tell to the cvs update to ignore the files 
> > > > > that are in the repository but not in the working directory.
> > > > > I want to update, in one step, only the files that I have checkout.
> > > >
> > > > Don't pass '-d' to update?
> > >
> > > That'll prevent fetching of un-checked-out directories, but I
> > > know of no way to prevent the fetching of un-checked-out files
> > > within a directory that *is* checked out.
> >
> > Yeah.  What he said.  :)
> >
>
> Without actually bothering to find out myself whether this would
> work or not, how about
> cvs update *
> ?  The * should expand to a list of files in the directory (which
> may of course be too long to feed into the command-line arguments),
> and so the update should apply only to the existing files.

Heh.  Yeah.  What he said too.  :)

You might have to filter directories and the like, but something like `find . 
-type f` should do the trick.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden         CollabNet ( http://collab.net )
--
Cynic:  Someone who smells the flowers and looks for the casket






reply via email to

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