On Thu, Oct 03, 2002 at 09:31:07AM +1000, Ken Foskey wrote:

> What I want to achieve is:
> 
> Move the tag for SRX643_OO to the current version on my directory, I do
> this like this:
> 
> cvs tag -F SRX643_OO filename

That tags the revision of `filename' that you have checked out, and
moves the tag if it already exists.  If you've modified the file and not
checked your changes in, the tag will be applied to the base revision,
not including your changes.

> I then want to ensure that I have a branch tag (ie not working on HEAD) 
> I think that I want this:
> 
> cvs tag -b SRX643_OO filename

This creates a branch, but won't actually work if you've already
applied the tag (you need `-F' to move the tag).  If all you want to do
is create the branch, the first command is redundant.

Your working copy is still on the trunk though, because creating the
branch doesn't touch your working files.  To get a branch copy, you
need to checkout (or update) the branch:

    cvs update -r SRX643_OO filename
    
You might find this useful:

    http://kirriwa.net/john/cvs/tutorial.html

or just ask if you need more help.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to