hg equivalent of git stash

Masklinn masklinn at masklinn.net
Tue Dec 13 01:48:24 CST 2011


On 2011-12-13, at 08:35 , Arne Babenhauserheide wrote:
> 
> hg diff > 1.patch
> hg revert .
> (work)
> hg import --no-commit 1.patch
> 
> ? 
That's what shelve does, except simpler (2 symmetric commands) and without cluttering your working copy with storage file.

Shelve extensions also generally take advantage of `record`-type features to shelve only parts of the current working copy changes


More information about the Mercurial mailing list