[Top][All Lists]

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

Re: cvs checkout question

From: david
Subject: Re: cvs checkout question
Date: Sun, 28 Apr 2002 14:13:17 -0500 (CDT)

> We switched to using CVS from PVCS a few months ago, and so far I like it
> a lot.  However, there is one thing that I can't find any way to do, and
> would like
> to know if it is even possible.  Can I just check out a single file, rather
> than the entire
> module?  When I specify a filename with cvs checkout, it says "cannot find
> module
> 'filename' - ignored".  Sometimes I make changes to a file in my working
> copy and
> then decide they should be undone completely, or done in a different place
> (e.g.,
> on the trunk rather than on my branch).  In this case I want to overwrite
> my copy of
> that ONE file with a repository revision, but I don't want to check out the
> entire source tree.  Is there any way to do this?
In which case you have the files checked out, and want to update them
in place.  That's what "cvs update" is for.  "cvs checkout" will create
a CVS-controlled directory tree, and "cvs update" will maintain it
after that.
David H. Thornley                        | If you want my opinion, ask.
address@hidden                       | If you don't, flee. | O-

reply via email to

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