所以我从几个来源验证了hg update -C <branch>
是批准在Mercurial中切换分支的方法。但是,它似乎并不适合我:
Firefly:templatedoc Ken$ hg branches
IntCursor 7:1aec742eb390
default 6:bf3fba585a57 (inactive)
Firefly:templatedoc Ken$ hg update -C default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
Firefly:templatedoc Ken$ hg branches
IntCursor 7:1aec742eb390
default 6:bf3fba585a57 (inactive)
谢谢! 肯