How can histedit be used to "reorder" changesets?

Benjamin Fritz fritzophrenic at gmail.com
Mon Sep 7 19:24:29 UTC 2015


On Mon, Sep 7, 2015 at 1:53 PM, Matthieu Moy <matthieu.moy at grenoble-inp.fr>
wrote:
>
> ----- Original Message -----
> > The wiki for Histedit (
> > https://mercurial.selenic.com/wiki/HisteditExtension) says "History
rewriting
> > works by reordering changesets so that they reflect a new ordering in
the
> > history graph"
>
> You can reorder the lines in the file to reorder the changesets.
>

Oh geeze, that's embarrassingly simple.

But, can it add a second parent to a changeset to reflect a "merge" that
was done manually instead of using an actual merge command? Or is there
another tool that can do that aside from "hg convert"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150907/81570554/attachment-0002.html>


More information about the Mercurial mailing list