Converting a SVN project containing tags to Mercurial
I am attempting to use the hg convert
Mercurial command against an SVN repository that has a trunk and some 开发者_如何学JAVAtags (but no branches.) The SVN folder layout looks like this:
Foo
tags
1.00a
1.00b-test
trunk
Although the import succeeds, it would appear I am only gettting the trunk and the tags are nowhere to be seen in the Hg repository. Issuing hg tags
or hg branches
doesn't show them.
Am I doing something wrong here?
Try explictly passing in the directory containing the tags when running hg convert
:
--config convert.svn.tags=tags (directory name)
specify the directory containing tags
from hg help convert
. If that doesn't do it, what's the exact covert command line you're using? Is there anything in the .hgtags file after you run?
精彩评论