[PATCH] Some yasvn2hg patch
Antoine Pitrou
antoine.pitrou at wengo.com
Wed May 9 15:23:10 UTC 2007
Le mercredi 09 mai 2007 à 14:52 +0200, Sebastien Lucas a écrit :
> yasvn2hg create a new branch inside the hg repo for each directory in
> /branches and create a hg tag for each directory in /tags.
IMHO it should still create separate repositories for each branch, just
make sure they clone the branch they were copied from.
AFAIK "one-hg-repo-per-development-branch" is still the recommended
model, and it isn't exclusive with named branches anyway. By combining
named branches and separate repos you have a very powerful and flexible
model.
(hgsvn has simplistic logic to do this incrementally, e.g. if you
already have the trunk and you import a branch which was created from
the trunk, the hg repo for the branch will inherit from the trunk repo
at the right revision (provided you didn't rename the trunk and both are
imported in the same parent dir). It does not try to find merge points
however)
> I had no time to test hgsvn but from the readme I like the pull
> approach and the fact that it populate the .hgignore.
Thanks !
For the record, hgsvn is not meant as a one-way converter, but a tool to
use Mercurial with SVN checkouts.
More information about the Mercurial
mailing list