On Thu, 31 Aug 2000, Tom Werges wrote:

> Date: Thu, 31 Aug 2000 21:33:09 -0700
> From: Tom Werges <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Rollback?
> Resent-Date: Fri, 1 Sep 2000 02:05:53 -0400
> Resent-From: [EMAIL PROTECTED]
> 
> I need the ability to rollback a module to an earlier tag, and have that tag
> become the current revision. I was unable to find any way to do this
> in the faqs. The cvs reference manual lists a way to roll back, but the
> documentation is incorrect (it shows how to merge the current revision with
> previous ones, and says that this is rolling back).
> 
> cvs co -r [tag] will not make that tag the current revision, and I can't commit
> to it; it is for historical purposes only.
> 
> I grepped the mail archives for 'rollback' and found a hackish way to rollback
> for individual files only. However, I want to do so for a whole module,
> including un-deleteing the files that have since been deleted, and un-adding
> the files that have since been added.
> 
> I tried exporting the tag to another directory, cvs removing all the files in
> the repository, copying all the files from the exported directory, adding the
> files from the exported directory, and committing. It works but it ain't pretty.
> 
> There must be a simple way of doing this that I'm unaware of. Any help would
> be greatly appreciated.
> 
> Thanks in advance,
> tom
> 
> 
> 

Tom,

I've effectively done that by creating a branch at the tag point, then
doing all new development in that branch.  Of course, it was somewhat
easy for me, because I've developed an entire environment (with
wrappers around CVS) that understands branches.

Bill

Reply via email to