【发布时间】:2010-10-14 22:37:43
【问题描述】:
是正确的方法
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个头?
【问题讨论】: