How can histedit be used to "reorder" changesets?

Augie Fackler raf at durin42.com
Tue Sep 8 17:37:20 UTC 2015


> On Sep 7, 2015, at 15:24, Benjamin Fritz <fritzophrenic at gmail.com> wrote:
> 
> 
> 
> On Mon, Sep 7, 2015 at 1:53 PM, Matthieu Moy <matthieu.moy at grenoble-inp.fr <mailto:matthieu.moy at grenoble-inp.fr>> wrote:
> >
> > ----- Original Message -----
> > > The wiki for Histedit (
> > > https://mercurial.selenic.com/wiki/HisteditExtension <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"?

I'm not aware of such a tool other than convert. histedit's UI limits it to only really being useful on linear history, not history with merges.

> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> https://selenic.com/mailman/listinfo/mercurial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150908/72c20d8a/attachment-0002.html>


More information about the Mercurial mailing list