"Joshua M. Ferraro" <jmf@liblime.com> wrote:
I recently had a heck of a time working with Savannah's CVS to get it to allow me to revert a version of a file to a previous one. Here's how I eventually got it to work:
$ cvs update -j 1.3.2.14 -j 1.3.2.15 search.pl [...]
I think those -j flags are backwards for a revert. The manual says: -jREVISION With two -j options, merge changes from the revision specified with the first -j option to the revision specified with the second -j option, into the working directory. In the example above, 1.3.2.15 already contains all changes from 1.3.2.14, so that's a no-op. If, instead, one does cvs update -j 1.3.2.15 -j 1.3.2.14 search.pl cvs commit -m 'revert' search.pl then the changes are in 1.3.2.15 are reverted and 1.3.2.14 recommitted. [...]
Ahem ... we need a new revisioning system :-)
Yes (git!), but not for this reason. Hope that helps, -- MJ Ray - see/vidu http://mjr.towers.org.uk/email.html Webmaster/web developer, statistician, sysadmin, trainer, koha dev, online shop maker, GNU/Linux, debian, gobo, gnustep, mailing lists. Workers co-op @ Weston-super-Mare, Somerset http://www.ttllp.co.uk/