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


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

Reply via email to