I keep the main repo on mercurial but made a clone with hg-git for git lovers.
The problem is that in the mercurial repo I went back to a previous commit, created a new anonymous branch and closed the old one. (Reason: postpone development of a feature)
After that I saw that hg-git stopped working.
I tried even to force the commit but still not succeeded.
Alex
Ok...finally founded the answer on another hg-git related question
So it seems that you have to update the "master" bookmark to current branch.
hg bookmark -f master
来源:https://stackoverflow.com/questions/14175561/hg-git-stopped-working-for-multiple-branches