[PATCH] Updated convert-repo script

Bryan O'Sullivan bos at serpentine.com
Mon May 1 13:07:01 CDT 2006


On Mon, 2006-05-01 at 13:46 -0400, Sébastien Pierre wrote:

> I also attached the .patch file to the mail... so that it would not be
> altered.

Ah, didn't see that.

> Was it line-wrapped as well ?

Seems OK to me.

> - I am not sure that the mercurial API is accessible in the Python path
> when the convert-repo script is executed

It is.  You can see the "from mercurial import ..." code right there :-)

> - The API can change, while the command line interface probably won't

Well, that's why convert-repo and other things in contrib/ and hgext/
ship with Mercurial: so that when the API changes, they can be fixed at
the same time.

> So can we go this way ?

I would prefer not to, but if someone has strong feelings that this
approach is OK, I'm sure they'll speak up :-)

	<b



More information about the Mercurial mailing list