Re: CVS: versioning and branching

Steven Armstrong <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
On 03/30/05 03:28, Steven Armstrong wrote:
> Done!
> 
> 
> The commands used are (assuming you have CVSROOT set):
> 
> To tag a version: (naming conventions from [1])
> 
> cvs tag "/pyblosxom/release-1_2" "/pyblosxom"
> 
> 
> To checkout a specific version:
> 
> cvs co -r "release-1_2"
> 
> 
> To update/downgrade to a specific version:
> 
> cvs update -r "release-1_2" -d -P "/pyblosxom"
> 
> 
> If you omit the -r "version" flag the cvs client defaults to HEAD, which
> is the same as using -r "HEAD".
> 
> As of my understanding you basically do what you usually do but append
> -r "version" to your command.
> 
> hth
> cheers
> Steven
> 
> [1]
> http://smb.slac.stanford.edu/public/research/developments/blu-ice/dcsAdmin4_1/node153.html
> 

Update:
It seems that the -r flag is sticky.
So once you checked out/updated using it you don't need to specify it
for following actions (e.g. commit).

Please note that I'm only just learning to use all this stuff. So you
should know better than to blindly follow what I write here ;-)



-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.