info-cvs
[Top][All Lists]
Advanced

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

How to go back to the branch after mistakenly switching to the trunk


From: Ming Kin Lai
Subject: How to go back to the branch after mistakenly switching to the trunk
Date: Sun, 04 Sep 2005 19:25:31 -0700

I did not read carefully the documentation on "cvs commit -r REV" and made a mistake by committing a revision with a specified REV number on a branch. One cannot commit to a specific revision on a branch - and I did exactly that and now that revision is on the trunk. Specifically, I made a tag on the trunk (let's say at revision 1.1) called "Root-of-Branch" before creating a branch called MyBranch using "cvs tag -b MyBranch". Then I made some changes and tried to call it 2.1 by using "cvs commit -r 2.1". Well, this 2.1 is now on the trunck, not on the branch. My question is: How can I go back on the branch so that my next revision is on the branch? (Preferably, someone would tell me how to "move" that 2.1 to the branch?) Thank you.

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement





reply via email to

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