|
From: | Brian May |
Subject: | Re: [Monotone-devel] Re: Undo a commit |
Date: | Sun, 12 Oct 2008 20:18:09 +1100 |
User-agent: | Thunderbird 2.0.0.17 (X11/20080925) |
Thomas Keller wrote:
I'd do it "safely" without messing around with _MTN/revision and move the current changes aside to re-apply them later on: $ mtn diff > current_changes.txt $ mtn revert . $ mtn db kill_rev_locally dcfbf59823cf21e292b60ba8f8463f65ea383597 $ patch -p0 < current_changes.txt
Unfortunately it won't work if you have renamed files, for example. I really liked the tla undo/redo options. I found some documentation here: <http://www.flibuste.net/libre/tlarefexport/texinfo/tla_3.html#SEC14> Brian May
[Prev in Thread] | Current Thread | [Next in Thread] |