hg shelve equivalent of git stash drop

From the Mercurial shelve documentation (or using hg help shelve):

To delete specific shelved changes, use “–delete”. To delete all shelved changes, use “–cleanup”.

options:

-d –delete delete the named shelved change(s)

So if your patch was called my-patch, then you would delete it using:

hg shelve -d my-patch

Leave a Comment