Re: [undo commit]

From: Rafael Martinez \(Squid development\) <rmartine@dont-contact.us>
Date: Wed, 21 Nov 2007 09:49:06 +0100

On Wed, 2007-11-21 at 21:12 +1300, Amos Jeffries wrote:
> Rafael Martinez (Squid development) wrote:
> >> If snmp_core.cc revision 1.10.8.26
> >>
> >> How can I come back into 1.10.8.24 ?
> >>
> >
> > cvs update -j 1.10.8.26 -j 1.10.8.25 snmp_core.cc
> > cvs update -j 1.10.8.25 -j 1.10.8.24 snmp_core.cc
> >
>
> Is that the answer to your reversal question?

Yes, at least it worked for me... Unless you have locally changes vs.
1.10.8.26, (can originate merging problems...)

To be safe, I did:

rm mv snmp_core.cc
cvs update snmp_core.cc
cvs update -j 1.10.8.26 -j 1.10.8.25 snmp_core.cc
cvs update -j 1.10.8.25 -j 1.10.8.24 snmp_core.cc
cvs commit -m "Coming back to dirty code" snmp_core.cc

The rest of ordinary CVS developers have to do ordinary "cvs update" to
get increasing version 1.10.8.27 . The version number _ALWAYS_ increase,
but the content is that of 1.10.8.24 .

> I'm a little unknowing in the reversal area, I've always pulled out a
> copy of the old version with -r , made a patch and re-committed with a
> reversal comment.
>
>

> Amos
Received on Wed Nov 21 2007 - 03:31:36 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:05 MST