We maintain a larger code base in a SVN Repository. For releases, we want to push only the release tag/branch into a Mercurial Repository, excluding the history from the trunk.
I have little experience with DVCSs, so maybe I'm on the wrong track with what I tried. If you can point out flaws or point to alternatives I'd be very happy.
Here is what I tried so far:
hg convert extension: Converted the complete repository using
hg convert <base project URL w/o "trunk">
which should pull the complete history including branches and tags according to the convert extension documentation. Buthg tags
only returns tip and default,hg branches
only default. Also, it is quite slow (yes, I read aboutsvnsync
) and it includes the complete history. I read that it can be used to pull incrementally, but I don't see that working for me.hg convert extension: Converting a tag and pulling from another tag works w/
-f
but I don't really trust it. Does it handle deletions correctly?hgsubversion:
hg clone
of the complete repository excludes tags and branches as wellhgsubversion:
hg clone
on a tag works, but then pulling from another tag is not possible (abort: unable to work on a different path in the repository)
Thanks in advance for pointers. "Noob, go read this first and come back later" is appreciated as well.