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: Bruce Stephens
Subject: [Monotone-devel] Re: Undo a commit
Date: Fri, 10 Oct 2008 16:16:41 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Ludovic Brenta <address@hidden> writes:

[...]

> 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.

That's not what "git rebase" does.  It's exactly (modulo changes to
the index, which I guess don't apply to monotone) what "git reset"
does (with --mixed, which is the default).

(Perhaps "rebase" is a suitable name for this; git's not particularly
consistent with anything else (in particular "git revert" does what
"mtn disapprove" does, which causes confusion occasionally).)




reply via email to

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