|
From: | Dennis Jones |
Subject: | Re: change the trunk of CVS |
Date: | Sun, 11 Mar 2007 21:13:37 GMT |
If I understand you correctly, you tagged
your trunk with "rel-1-5-0-1" and then continued development on trunk. Now
you want to make changes to the code as it existed at the time you created the
tag, so you need to branch from that point. Since you were smart and
created a tag, this is very simple to do (if you had not created a tag, it can
still be done, but you would have to create your branch/tag from a date/time
stamp).
Assuming you
want to use the name "REL_1_5_0_1" for the branch and your module name is
"MY_PRODUCT", you would do this (I've added extra spaces for
clarity):
cvs rtag -b -r
rel-1-5-0-1 REL_1_5_0_1 MY_PRODUCT
Basically, that says,
"Create a branch of the 'MY_PRODUCT'
module, starting at tag 'rel-1-5-0-1', and give it the name
'REL_1_5_0_1.'"
The command (cvs rtag) works on the
repository directly (not your local sandbox), so it doesn't matter what the
state of your sandbox is, or what folder you are in when you invoke it.
Once complete, you just have to checkout the branch.
Hope this helps,
- Dennis
|
[Prev in Thread] | Current Thread | [Next in Thread] |