info-cvs
[Top][All Lists]
Advanced

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

Re: Releasing individual files instead of whole directories


From: Greg A. Woods
Subject: Re: Releasing individual files instead of whole directories
Date: Wed, 5 Sep 2001 03:56:18 -0400 (EDT)

[ On Tuesday, September 4, 2001 at 14:23:10 (+0100), Ewan Leith wrote: ]
> Subject: Releasing individual files instead of whole directories
>
> One the cvs website, at the page
> http://www.cvshome.org/docs/cvsmanaging.html there is a section on releasing
> files:
> 
>       "The command to release a file or directory is: 
>       cvs rel filename (or /directory_name)"

That document is wrong (or at least misleading).  Generally speaking CVS
works on groups files contained in a module (which by definition starts
with a top-level directory).  Specifically commands like "cvs checkout"
and its compliment "cvs release" work only on entire modules (or
pedantically "directory hierarchies").

The manual is somewhat more authoritative on this subject.

(note there is some potential interaction betbween "cvs edit" and "cvs
release", and there's even some hint in the manual that "cvs release
file" might be the equivalent of "cvs unedit", though even if it works
that way I would suggest it's a bug and it shouldn't -- "cvs release"
should always only be thought of as the compliment of "cvs checkout")

-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <address@hidden>     <address@hidden>
Planix, Inc. <address@hidden>;   Secrets of the Weird <address@hidden>



reply via email to

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