[Top][All Lists]

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

[Monotone-devel] Re: Undo a commit

From: Ludovic Brenta
Subject: [Monotone-devel] Re: Undo a commit
Date: Fri, 10 Oct 2008 16:47:22 +0200
User-agent: Internet Messaging Program (IMP) 3.2.2

Selon Daniel Carrera:
> Ludovic Brenta wrote:
>> Or teach db kill_rev_locally to only change the workspace's parent
>> revision without changing anything to the workspace?
> Or make a command "mtn rollback" that is equivalent to kill_rev_locally
> without changing the workspace. It should be simple enough.
> Step 1: Edit _MTN/revision to point to the previous revision.
> Step 2: Run kill_rev_locally on the last revision.

I would prefer a single-purpose command, "mtn rebase -r <rev>", that only
rewrites the old_revision field in _MTN/revision.  Then, the user can
either kill_rev_locally h:, disapprove h:, or simply commit to create a
divergence if that's what they want.

Ludovic Brenta.

reply via email to

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