classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] FYI: Minor tweak to java.awt.List


From: Tom Tromey
Subject: Re: [cp-patches] FYI: Minor tweak to java.awt.List
Date: 26 Jul 2005 09:09:07 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> (Whoops, accidentally commited a change to Component. Did that revert
>> correctly?)

Mark> No. You committed the attached.

I thought I'd mention a nice cvs trick for reverting a patch.  (I've
had to do this more times than I care to admit...)

If you accidentally check in a commit to some file where the new
revision is (e.g.) 1.30, you can most easily revert it by:

cvs update -j1.30 -j1.29 file
cvs commit -m'reverted accidental commit' file

Then you can restore your local change in you working tree with:

cvs update -j1.29 -j1.30 file

Tom




reply via email to

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