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/shelves
. If you stored named shelf, you can copy file, named as shelf, before hg unshelve NAME
--keep
(see hg help shelve
) hg help unshelve
says that:
hg unshelve --keep keeps shelve after unshelving
So I assume this is what you are looking for.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.