Moving changes from MQ to working tree.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 08 Jan 2015 17:53:36 +0200
changeset 1668 86a2cb376ee9
parent 1667 40bb400c925e
child 1669 12f6f6b95b7c
Moving changes from MQ to working tree.
hg.rst
--- a/hg.rst	Thu Jan 08 17:50:01 2015 +0200
+++ b/hg.rst	Thu Jan 08 17:53:36 2015 +0200
@@ -390,6 +390,15 @@
   $ hg qpop -a
   $ for patch in `hg qser`; do hg qrm $patch; done
 
+Moving changes from MQ to working tree.
+=======================================
+::
+
+  $ hg qpop my.patch
+  $ hg qdel --keep my.patch
+  $ patch -p1 .hg/patches/my.patch
+  $ rm .hg/patches/my.patch
+
 Split patch in MQ.
 ==================