Bruce Stephens wrote:
Ludovic Brenta <[EMAIL PROTECTED]> writes:
I would prefer a single-purpose command, "mtn rebase -r <rev>", that only
rewrites the old_revision field in _MTN/revision...
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).)
I think "rebase" is a good name for Ludovic's solution. Monotone already
has the concept of "base revision" (e.g. get_base_revision_id) and
"rebase" sounds like "change base revision". So it would be internally
consistent. In turn, to me "reset" send a very different message.
Daniel.
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel