Hg-git停止为多个分支工作 [英] Hg-git stopped working for multiple branches
本文介绍了Hg-git停止为多个分支工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我保留主要repo 在mercurial上,但用gg-git为git爱好者制作了一个复制品。
问题是,在mercurial repo我回到之前的提交,创建了一个新的匿名分支并关闭了旧分支。 (原因:推迟功能的开发)之后,我看到hg-git停止工作。我甚至试图强制提交,但仍然没有成功。
解决方案
好的...终于在另一个hg-git上创建了答案相关问题
因此,您似乎必须将主书签更新为当前分支。
hg书签-f主
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.
解决方案
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
这篇关于Hg-git停止为多个分支工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文