info-cvs
[Top][All Lists]
Advanced

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

Re: How to undo a change to a branch


From: Tyler
Subject: Re: How to undo a change to a branch
Date: Tue, 15 Jun 2004 11:28:41 -0700
User-agent: Mutt/1.4.2.1i

On Tue, Jun 15, 2004 at 02:12:42PM -0400, Kynn Jones wrote:
> I just mistakenly committed a change to a (non-trunk) branch.  What's
> the best way to undo this change?  (I'm tempted to just delete the
> change in the RCS file, but I figure I'd better learn the right way to
> do this.)

cvs up -j[revision including change you didn't mean to commit] -j[revision 
before change you didn't mean to commit] filename

will merge out the change you meant to get rid of. Sanity check the
file, then commit it. Easy as pie.

tyler




reply via email to

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