Reordering main repo?

Adrian Buehlmann adrian at cadifra.com
Sat Jul 18 13:15:03 CDT 2009


Hi Matt and list

Maybe this is a little bit silly, but...

I've noticed that the graph of the main mercurial repo [1] as of
revision 47ce7a3a1fb0 currently looks a bit ugly because there are
quite a couple of vertical lines (10) caused by a recent series
of merges.

See sceenshot:
http://cdn.bitbucket.org/abuehl/hg-main-sorted/downloads/hg-main.png

I've asked myself how this happened and if this could be improved.

As an experiment, I then started doing a couple of incremental pulls
into a new clone, trying to reorder the sequence of revisions in the
repo a bit.

I've pushed the resulting repo to [2].

The graph of that "reordered" repo looks like this:
http://cdn.bitbucket.org/abuehl/hg-main-sorted/downloads/hg-main-sorted.png

Would it make sense to replace the main mercurial repo data with that
reordered repo?

(If I do a fresh clone of [2] the "nice" new graph is preserved)

My reordered repo [2] would have only 4 vertical lines in the graph of that
recent merge series, compared to 10 in the current main repo.

[1] http://selenic.com/repo/hg
[2] http://bitbucket.org/abuehl/hg-main-sorted


More information about the Mercurial-devel mailing list