monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: Undo a commit


From: Lapo Luchini
Subject: [Monotone-devel] Re: Undo a commit
Date: Fri, 10 Oct 2008 01:10:00 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.0

Ludovic Brenta wrote:
>> Over-all I am concerned about the process of un-doing a commit. What
>> I want is a functional equivalent of Monotone acting as if I had not
>> done the commit yet. I don't want it to nuke my files or revert my
>> changes.
> 
> To achieve this, revert your workspace to the previous revision first,
> then "mtn db kill_rev_locally" the offending (head) revision.

No longer needed to revert first: "db kill_rev_locally" is now smart
enough to move the workspace in the previous state, complete with
(uncommitted) changes you had before the commit itself.

-- 
Lapo Luchini - http://lapo.it/

“The sky above the port was the color of television, tuned to a dead
channel.” (William Gibson, "Neuromancer")





reply via email to

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