info-cvs
[Top][All Lists]
Advanced

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

RE: Checking out an old file, modifying and checking it back in


From: Arthur Barrett
Subject: RE: Checking out an old file, modifying and checking it back in
Date: Tue, 16 Sep 2008 09:39:15 +1000

> I would like to branch one file. Could I just branch 
> the one file or do I need to branch out the whole 
> project because of the 1 file?
> 
> cvs co -r1.33 fileA
> cvs tag -b -r1.33 fileA
>  
> I'm not clear on the syntax.


You can branch just one file, though some people do not recommend it.

cvs co -r1.33 fileA
cvs tag -b fileA

Or

cvs rtag -b -r1.3 /path/to/fileA 

> #or IIRC
> cvs update -j1.50 -j1.33 fileA
> 

BTW - if not branching then this is what I would call the 'preferred
method' since a tool like CVSNT will record the 'mergepoint' and allow
you to 'see' that revision 1.51 is related to 1.33.

Regards,


Arthur




reply via email to

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