hg shelve installed but hg: unknown command 'unshelve'

你。 提交于 2020-01-14 10:25:07

问题


I installed the shelve extension for hg by adding 'shelve=' to [extensions]. I can verify this by running 'hg help extensions' which has the following in the output:

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.

I then type 'hg shelve' in a repo of mine, and I get:

hg: unknown command 'shelve'
Mercurial Distributed SCM
...

I would expect the shelve extension to run...

Mercurial verison is 2.0.2


回答1:


The Shelve extension is distributed with Mercurial 2.8 and later, as mentioned here.

There is an older third party shelve extension that you can use with Mercurial 2.0.2, but it is not distributed with Mercurial and must be installed separately.



来源:https://stackoverflow.com/questions/22031147/hg-shelve-installed-but-hg-unknown-command-unshelve

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!