hg shelve in v2.9

Christian Widmer cwidmer at gmail.com
Wed Feb 12 02:19:12 UTC 2014


hi

using 'hg unshelve' does not properly restore your working copy when you had
missing (!) and or not tracked (?) files in your working copy and you have
used '-A' to stage those change away. Previously missing file are unshelved
as removed (R) and non tracked files as added (A).

Example:

@:> hg st
! file1.txt
? file2.txt

@:> hg shelve -A
removing file1.txt
adding file2.txt
shelved as default-01
1 files updated, 0 files merged, 1 files removed, 0 files unresolved

@:> hg unshelve
unshelving change 'default-01'
adding changesets
adding manifests
adding file changes

added 1 changesets with 1 changes to 2 files
@:> hg st
A file2.txt
R file1.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140212/e23ccdd7/attachment-0002.html>


More information about the Mercurial mailing list