I have a problem when trying to convert.
There is "mas开发者_如何转开发ter" branch and also another branch named "testing"
When I use standard method hg convert gitbranch hgconvertedbranch
I get two heads and need merge. - It merge somehow both branches and I get sources and changes different from original "master" branch which only I need to convert.
Do you have any solution for that? Any option for "hg convert" command to make convert really only master branch and not all togerther? Thank you.
Just make a local clone of your git repository with only one branch, and convert to hg from that.
After you've done the convert to Mercurial you can use clone -r ONEHEAD converted new
to get a repo having only revision ONEHEAD and all its ancestors.
精彩评论