Mercurial shelve extension - how can you view the diff of a shelf?

I see no documentation on how to do this in the docs.


hg shelve -l -p [name of shelf].

To get the shelves list one could use hg shelve -l.


Two ways:

  1. hg unshelve --inspect --name [name-of-shelf]
  2. cat .hg/shelves/[name-of-shelf]

Try, hg shelve --patch name — worked for me in Mercurial v 3.6.3