Mercurial test conversion

Felipe Contreras felipe.contreras at
Sun May 27 13:12:53 EDT 2012

On Sun, May 27, 2012 at 5:07 PM, John Bailey <rekkanoryo at> wrote:

> I have completed a test conversion of our monotone database to mercurial.  I ran
> the conversion on Friday evening, but it took most of yesterday to push the
> resulting repositories to a location that was publicly accessible.  Here are the
> repositories (all accessible via any browser or via 'hg clone' with the URL's
> listed):
> This repository is the raw result from the 'hg convert' run.  It includes
> everything currently in our monotone database:

It seems you didn't apply the 'hg convert' patches:

So the committer is missing, and comments, and mtn ids are not
converted to hg ids.

In addition to that, you don't have the extra mtn information that
last I checked Richard Laager was interested in keeping (like mtn id).

Moreover, you merged my 'test' bookmark which wasn't supposed to be
merged, and now the scripts aren't actually doing any conversion.

Also, since the last commit was 16 months ago, and the last tag is
v2.7.11[1], I don't think this is a proper conversion at all.

> Additional notes:  I reviewed and accepted the conversion script work Felipe
> Contreras submitted to the list back on 2012-05-13.

You merged unintended changes.

I don't see any other changes in pidgin-mtn-conv-files than mine, and
last time I checked those scripts were definitely not ready for

At the very least I see this list of unmapped authors:

tim at | 1
thijs at | 1
pat at | 1
loentar at | 1
Eion Robb <eion at> | 1
Patrick Cloke | 1
Simon van der Linden <simon at> | 1
lelongt at | 1
jond578 at | 1
dzlists at | 1
emanuele.giaquinta at | 1
matthew at | 1
jamie at | 1
dvpdiner2 at | 1
dcbw at | 2
linus.luessing at | 3
olivier.crete at | 3
hyc at | 5
michael at | 18
sanket at | 22
sanket at | 26
tomkiewicz at | 64

Many should be fixed.

Also, there is the topic of author mapping convention. Richard Laager
mentioned something like:

john <john at>
John Snow <unknown>

That can be easily done with 'mtn git_export'.

At this point in time I think the mtn -> git -> hg conversion is in
better shape.

 1) monotone information

   Monotone-Parent: 9e9d09486a04f5adb2e51b0f5aada69a9b053e93
   Monotone-Revision: 2cca525615a367389b1639a5246fbe6d451150c4

   Monotone-Author: markdoliner at
   Monotone-Date: 2012-02-18T23:28:43
   Monotone-Branch: im.pidgin.pidgin.2.x.y
   Monotone-Branch: im.pidgin.pidgin.mxit.2.x.y

 2) Multiple changelogs are maintained

 3) Proper default author mappings

 4) Much faster

Right now both methods require patching mercurial extensions, but when
I'm done with mine that won't be needed.



Felipe Contreras

More information about the Devel mailing list