I would like to copy some changes from my Mercurial shelf to my working directory, leaving an unchanged copy in the shelf.
Git would let me do that with git stash apply
, however I can't see a way to get TortoiseHg to let me do the same.
Is there any way to retrieve to copy the changes from the shelf, rather than move them?
hg help unshelve
says that:
hg unshelve --keep keeps shelve after unshelving
So I assume this is what you are looking for.
unshelve command has option --keep
(see hg help shelve
)
Shelve extension stores shelves in .hg/shelves
. If you stored named shelf, you can copy file, named as shelf, before hg unshelve NAME
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With