# HG changeset patch # User Bryan O'Sullivan # Date 1240617600 25200 # Node ID f3f901cfbfc7875d82f3fec1a1c2df2f19f277c6 # Parent 6b7818eb3d8e9051da382d8c24a14496c26fb4fd Describe the qfinish command in preference to qdelete -r. diff -r 6b7818eb3d8e -r f3f901cfbfc7 en/ch11-mq.xml --- a/en/ch11-mq.xml Fri Apr 24 00:31:21 2009 -0700 +++ b/en/ch11-mq.xml Fri Apr 24 17:00:00 2009 -0700 @@ -197,7 +197,7 @@ file. Take a look below for a simple example of these commands in action. -&interaction.mq.dodiff.diff; + &interaction.mq.dodiff.diff; The type of file that diff generates (and patch takes as input) is called a @@ -766,15 +766,19 @@ Converting to and from permanent revisions - Once you're done working on a patch and want to turn it - into a permanent changeset, use the hg qdelete -r command. Pass a - revision to the option to identify the - patch that you want to turn into a regular changeset; this - patch must already be applied. + Once you're done working on a patch and want to + turn it into a permanent changeset, use the hg qfinish command. Pass a revision + to the command to identify the patch that you want to turn into + a regular changeset; this patch must already be applied. &interaction.ch11-qdelete.convert; + The hg qfinish command + accepts an or + option, which turns all applied patches into regular + changesets. + It is also possible to turn an existing changeset into a patch, by passing the option to hg qimport. diff -r 6b7818eb3d8e -r f3f901cfbfc7 en/examples/ch11/qdelete --- a/en/examples/ch11/qdelete Fri Apr 24 00:31:21 2009 -0700 +++ b/en/examples/ch11/qdelete Fri Apr 24 17:00:00 2009 -0700 @@ -22,7 +22,7 @@ echo a > a hg add a hg qrefresh -m 'Good change' -hg qdelete -r tip +hg qfinish tip hg qapplied hg tip --style=compact