hg shelve in v2.9
Matt Mackall
mpm at selenic.com
Wed Feb 12 03:16:41 UTC 2014
On Wed, 2014-02-12 at 10:19 +0800, Christian Widmer wrote:
> 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).
Please copy this info into a bug report on our BTS so we can keep track
of it and you can be in the loop:
http://bz.selenic.com/
> 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
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list