[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to move trunk to brance?
From: |
Larry Jones |
Subject: |
Re: How to move trunk to brance? |
Date: |
Tue, 4 Mar 2003 10:46:35 -0500 (EST) |
Charles Sun writes:
>
> I checked in v2.1 sources yesterday. Now I want to make them branch and use
> Mar 1 data as the trunk.
> Can you tell me how to do it?
Let me get this straight -- you committed changes to the trunk, now you
wish you had made them on a branch instead? If so, the simplest way to
proceed is to create your branch at the current head of the trunk:
cvs tag -b my_branch
Then you can back out your changes. You'll need to tag the version you
want since you can't merge by date. Once that's done, you can do a
merge to back out the changes and then commit the reverted files:
cvs tag -D2003-03-01 temp_tag
cvs up -jHEAD -jtemp_tag
cvs ci -m'revert to 2003-03-01 version'
cvs tag -d temp_tag
-Larry Jones
Girls are so weird. -- Calvin