Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 513
Charles Finkel Avatar asked Aug 04 '13 23:08

Charles Finkel


3 Answers

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

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

like image 163
iurii Avatar answered Nov 17 '22 13:11

iurii


Two ways:

  1. hg unshelve --inspect --name [name-of-shelf]
  2. cat .hg/shelves/[name-of-shelf]
like image 43
Charles Finkel Avatar answered Nov 17 '22 15:11

Charles Finkel


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

like image 3
Zorayr Avatar answered Nov 17 '22 13:11

Zorayr