ANN: yasvn2hg -- yet another SVN to HG converter
Daniel Holth
dholth at fastmail.fm
Sun Apr 29 20:36:42 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joel Rosdahl wrote:
> Matt Mackall <mpm at selenic.com> writes:
>
>> [...]
>> Did you add this to the wiki?
>
> Yep.
I count at least 5 tools for converting to-and-from SVN <-->
Mercurial. Why don't we get together, merge the best features from
these projects, and build something that works great? There's surely
enough source material...
http://cheeseshop.python.org/pypi/hgsvn
http://dingoskidneys.com/cgi-bin/hgwebdir.cgi/queue-convert-svn/
http://darcs.net/DarcsWiki/Tailor
http://hg.omnifarious.org/~hopper/svn2hg
http://www.saillard.org/programs_and_patches/misc/patches/mercurial/svn2hg
http://www.selenic.com/mercurial/wiki/index.cgi/SubversionToMercurialSync
http://ajayu.memi.umss.edu.bo/viborita/weblog/svn2hg.py-convertir-repositorio-subversion-mercurial
Features that would be nice (queue-convert-svn has features marked
with *):
* Fast
- - As fast as possible
* Incremental conversion
* Support authors file to convert svn usernames to full Mr Example
<email at example.org>
* Ignore certain svn revisions because sometimes people copy trunk
into itself and then delete it
* Able to convert copy-from information
* Able to convert branches
* Able to convert directory moves
- - Able to convert revisions where two branches have changes with the
same SVN commit number
- - Able to copy merge history from SVN
- - Able to convert unusual cases:
- Add a file and copy the file in the same commit
- Copy a directory and delete some files from the destination in the
same commit
- Move a directory and a subdirectory in the same commit (not sure
whether this is possible)
* Convert symlinks
- - Able to convert The Subversion Repository (perhaps the Subversion
project has a testing repository with all the strange cases.
- - Able to go in the other direction
* Able to use the SVN api
- - Able to use the SVN command line interface
- - Able to convert in both directions, not just into Mercurial
- - Able to convert from any SVN URL, not just file:///
If you've written a SVN -> Mercurial tool, let me know if you are
interested. All we have to do is decide on some data structure to
represent the incoming SVN changesets whether they come from the API
or the command line, write some Mercurial and SVN API calls, point it
at a SVN repository, and watch it run.
Thanks,
Daniel Holth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGNQHaVh4W2pVfoMsRAvIKAJ0coWAPeMGqVbZbO94jnfFB3nGSzQCfQkEc
WnzODA9oYbUsypNvF+89XyM=
=Tc6Z
-----END PGP SIGNATURE-----
More information about the Mercurial-devel
mailing list