info-cvs
[Top][All Lists]
Advanced

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

RE: Checkout first branched version (Derek or Mark please read)


From: Jim.Hyslop
Subject: RE: Checkout first branched version (Derek or Mark please read)
Date: Tue, 5 Apr 2005 10:07:00 -0400

Euan Guttridge wrote:
> - I omitted to say I need to do this on a branch that was 
> created months ago
> and has subsequent commits to it.
Ah, of course, life is never simple is it? :=)

There was a patch submitted about a month ago on the bug-cvs list, which
added special reserved tags, such as .prev, .next and - the one you want -
.root

The syntax would be (assuming the branch tag is 'branch-tag'):
cvs co -r branch-tag.root

Unfortunately, the patch looks like it's still on a branch, and has not yet
been merged into the main source tree.

Until the patch makes it into the feature release, you will have to figure
out, for each file, which revision you need to tag. 'cvs status -v | grep
tag-name' will give you the branch point of the file. Just drop the last
number to get the revision, e.g. if it shows '(branch: 1.3.2)' drop the
'.2', so you need to tag rev 1.3.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( http://www.leitch.com )
Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )




reply via email to

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