是对于Mercurial(hg),如果“hg heads”显示3个头,但2个是分支,如何去除它?
hg up bugfix # <-- use that branch
hg commit --close-branch
hg up another_branch # <-- use another branch
hg commit --close-branch
hg up default
的正确方法,现在hg heads
将只显示1头?这是关闭未使用分支的正确方法吗?
看起来好像我们再次将hg up bugfix
改为一个文件并提交,那么该分支会自动重新打开,默认分支会再次显示2个头?