Request for help adding Mercurial output to cvs2svn

Alexis S. L. Carvalho alexis at cecm.usp.br
Fri Feb 22 18:51:02 CST 2008


Thus spake Alexis S. L. Carvalho:
> An hg-fast-import is not so easy to write.  Some hg-specific problems
> that would pop up:
> 
> - hg stores the file revisions in topological order (parents before
>   children)
> 
> - there's a pointer from file revision to changelog revision (linkrev)
> 
> - auto-merging of .hgtags
> 
> It's certainly possible to solve these, but it won't be trivial.

Well, things would get much easier if you add the constraint that files
are sent to the importer right before the commit that uses them (which
is pretty much what hg convert does).

Alexis


More information about the Mercurial-devel mailing list