|
From: | Aldo Longhi |
Subject: | Re: revision control |
Date: | Fri, 29 Sep 2000 12:49:51 EDT |
On Sat, 23 Sep 2000, Bill Shields wrote:Question: What is the best way to revert all the files back to the previous individual versions that were good?$ cvs update -j <cur_vers> -j <prev_vers> <file> $ cvs commit <file> This only works if the latest version is the one you want to get rid of. If there have been changes made since the bad versions were commited, then you'll have a litte more work to do... You'll have to do this for each file, or write a script to do it for you. Garth
What about this instead: ("foo" is the file in question)... $ cvs up -r <good_vers> -p foo > foo $ cvs ci foo This will get the version that you want, overwrite your existing local copy, then check it in as the latest version. - Aldo _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.Share information about yourself, create your own public profile at http://profiles.msn.com.
[Prev in Thread] | Current Thread | [Next in Thread] |