Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top