Stins, Dick wrote:
> BlankJim,
> 
> Sorry about the rtf/mime mails.
> 
> I guess that this one is allright?
Yes, that's better, thanks.

> All examples I have seen are merging the trunk with the branch.
> My question is how to update the branch with the trunk.
> 
> -  I have a file a.txt revision 1.1
> - I created a branch b which has as root a.txt revision 1.1
> - for a.txt is a revision 1.2 created (the branch has still 
> a.txt 1.1 as
> root revision)
> 
> I would like to upgrade the branch b with a.txt revision 1.2
> Since a.txt in the branch is not changed, I would like to 
> change the root of
> branch b to a.txt revision 1.2.
> 
> Is this possible?
Sure - it's the same command, you just have to tell CVS the start and end
points:

cvs update -r branch_b
cvs update -j branch_b_root -j HEAD

It's a good idea to always apply two tags when branching - one for the
branch itself, and one to mark the base of the branch. In this example, the
base point is tagged as 'branch_b_root' and the branch is tagged as
'branch_b'.

HTH!

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



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to