changeset 8904:8be38b624902

mq: no longer mention the deprecated qdelete's --revision option The option will no longer show up in the list, unless --verbose is used. 'qdel -r' has been deprecated in favor of qfinish since the 1.1 release. It is still fully functional, but new users need not learn about it.
author Cédric Duval <cedricduval@free.fr>
date Tue, 23 Jun 2009 22:20:25 +0200
parents d403cf4eb32d
children 68decbcb12cf
files hgext/mq.py
diffstat 1 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Tue Jun 23 21:49:49 2009 +0200
+++ b/hgext/mq.py	Tue Jun 23 22:20:25 2009 +0200
@@ -1641,16 +1641,14 @@
 def delete(ui, repo, *patches, **opts):
     """remove patches from queue
 
-    The patches must not be applied, unless they are arguments to the
-    -r/--rev parameter. At least one patch or revision is required.
-
-    With --rev, mq will stop managing the named revisions (converting
-    them to regular Mercurial changesets). The qfinish command should
-    be used as an alternative for qdelete -r, as the latter option is
-    deprecated.
+    The patches must not be applied, and at least one patch is
+    required.
 
     With -k/--keep, the patch files are preserved in the patch
-    directory."""
+    directory.
+
+    To stop managing a patch and move it into permanent history,
+    use the qfinish command."""
     q = repo.mq
     q.delete(repo, patches, opts)
     q.save_dirty()
@@ -2520,7 +2518,7 @@
     "qdelete|qremove|qrm":
         (delete,
          [('k', 'keep', None, _('keep patch file')),
-          ('r', 'rev', [], _('stop managing a revision'))],
+          ('r', 'rev', [], _('stop managing a revision (DEPRECATED)'))],
          _('hg qdelete [-k] [-r REV]... [PATCH]...')),
     'qfold':
         (fold,