[Contrib] Basic Darcs to Mercurial conversion script

Sébastien Pierre sebastien at xprima.com
Mon May 29 08:58:11 CDT 2006


Hi Miguel,

Le vendredi 26 mai 2006 à 18:05 -0500, Miguel Bazdresch a écrit :
> On 5/26/06, Sébastien Pierre <sebastien at xprima.com> wrote:
> > Being rather unsatisfied of Tailor (did not work and was overly
> > complicated to patch), I wrote a simple and small script to migrate
> > simple Darcs projects to Mercurial.
> >
> > I tested the tool on my former Darcs repo, and everything works fine.
> > For now, the tags are not taken into account (so you have to reenter the
> > tags by hand)
> 
> Salut Sébastien,
> 
> Thanks. I tested on a darcs repo and it seems to work great. Observations:
> 
> * It outputs a "<filename> already tracked!" message, when updating
> the hg repo, for each file that was already in the repo. I think it's
> harmless.

Yes, this is harmless. This was simpler for me as I would otherwise have
to give the list of all files minus the list of already tracked files,
and wanted to keep the script simple. 

> * The final hg repo is also a darcs repo! Was this intended?

I forgot to remove the _darcs directory, you're right ! Or maybe you
think that it would be useful to keep it ?

 -- Sébastien




More information about the Mercurial mailing list