info-cvs
[Top][All Lists]
Advanced

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

Rollback


From: Dylan Martin
Subject: Rollback
Date: Thu, 13 Apr 2006 12:33:41 -0700
User-agent: Mutt/1.4.2.1i

I'm advocating the use of CVS for configuration files here where I
work and a big selling point is the ability to roll back to earlier
versions.  I read the entry in the FAQ titled "Rolling back the
repository based on a date", but it doesn't seem to work for me.

I came up with what I think is a simpler method, but I worry that I'm
missing something.  The objective is to take an old revision and
basically stick it at the head.

1) checkout/update 
2) use cvs log to find out which revision you want (say 1.10)
3) cvs up -j HEAD -j 1.10
4) cvs ci

This seems to work, but I'm worried that I'm missing something.

Thanks
-Dylan

Attachment: pgpjsSnk0m4cI.pgp
Description: PGP signature


reply via email to

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