hgext/mq.py
changeset 8904 8be38b624902
parent 8894 868670dbc237
child 8929 cb05e2a00291
--- 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,