hg equivalent of git stash

Masklinn masklinn at masklinn.net
Mon Dec 12 11:47:14 CST 2011


On 2011-12-12, at 18:09 , anatoly techtonik wrote:
> I am puzzled. After 'hg qref -X .', 'hg qdiff' and 'hg diff' show the same
> info. Did I break something?
`hg qref -X` removes everything from the MQ patch, so you now have:
* A working copy in its original (dirty) state
* A completely empty applied MQ patch

It's perfectly normal that qdiff and diff show the same output, as qdiff is the sum of the current mq patch and the current working copy diff. If the patch is empty, it is the same thing as a direct diff.



More information about the Mercurial mailing list