[cvsnt] discard garbage revisions and create new 'latest' based onold tag.

Bo Berglund Bo.Berglund at system3r.se
Wed Apr 27 11:44:01 BST 2005


This is very easy for you since you do have a tag to go against. :-)
Basically you use the update with merge command as follows:

cvs update -j BranchName -j OldTagname

then of course:

cvs commit -m"Reverted code to tag OldTagName"

See also here:
http://cvsgui.sourceforge.net/newfaq.htm#reversion
and here:
http://cvsbook.red-bean.com/cvsbook.html#The%20Fast%20Method%20Of%20Reverting

/Bo

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of assaf
Sent: den 27 april 2005 12:53
To: cvsnt at cvsnt.org
Subject: [cvsnt] discard garbage revisions and create new 'latest' based
onold tag.


hi,
a user here commited some garbage code all over his branch and
now he wants to get his branch back to a point marked by a tag he 
created previuosly.
he wants to discard all the garbage code revisions and have a new 
'latest' based on that tag.
any ideas / suggestions on how to acheive that ?

  (Tag)                         -latest-
-[good]->[garbage]->[garbage]->

the need is to 'put' [good] after the last [garbage] for many files.

thanks,
Assaf
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list