Answers:
您甚至可以在.hg / hgrc文件的[路径]部分中添加多个条目。
[paths]
default = /repo_store/hg/project1
sandbox = /repo_store/hg/project1_experimental
然后可以在mercurial命令中指定其别名。默认回购协议无需指定,但其他必须类似,
hg in # check incoming changes from default repo
hg in default # check incoming changes from default repo
hg in sandbox # check incoming changes from sandbox repo
hg pull sandbox # pull changes from sandbox repo