我通过在 [extensions] 中添加 'shelve=' 为 hg 安装了搁置扩展。我可以通过运行“hg help extensions”来验证这一点,输出中包含以下内容:
enabled extensions:
extdiff command to allow external programs to compare revisions
fetch pull, update and merge in one command
shelve Manage shelves of pickled objects.
然后我在我的回购中输入“hg shelve”,我得到:
hg: unknown command 'shelve'
Mercurial Distributed SCM
...
我希望搁置扩展能够运行......
Mercurial 版本是 2.0.2