Hg-git stopped working for multiple branches

旧巷老猫 提交于 2019-12-09 12:36:01

问题


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.


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!