"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:[EMAIL PROTECTED]         CollabNet ( http://collab.net )
--
Cynic:  Someone who smells the flowers and looks for the casket




_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to