changeset 16188:6b52963ced73 stable

mq: fix qapplied --last and qprev documentation (issue3282) qapplied --last is qprev not qtop. v2: - Replace "previous" with "preceding" as suggested here and there
author Patrick Mezard <patrick@mezard.eu>
date Mon, 27 Feb 2012 18:23:18 +0100
parents 82ce91a9fd94
children 41bef17e6ad8
files hgext/mq.py tests/test-mq.t
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Mon Feb 27 08:54:26 2012 -0500
+++ b/hgext/mq.py	Mon Feb 27 18:23:18 2012 +0100
@@ -1929,7 +1929,7 @@
     return 0
 
 @command("qapplied",
-         [('1', 'last', None, _('show only the last patch'))
+         [('1', 'last', None, _('show only the preceding applied patch'))
           ] + seriesopts,
          _('hg qapplied [-1] [-s] [PATCH]'))
 def applied(ui, repo, patch=None, **opts):
@@ -2224,7 +2224,7 @@
 
 @command("qprev", seriesopts, _('hg qprev [-s]'))
 def prev(ui, repo, **opts):
-    """print the name of the previous applied patch
+    """print the name of the preceding applied patch
 
     Returns 0 on success."""
     q = repo.mq
--- a/tests/test-mq.t	Mon Feb 27 08:54:26 2012 -0500
+++ b/tests/test-mq.t	Mon Feb 27 18:23:18 2012 +0100
@@ -74,7 +74,7 @@
    qnew          create a new patch
    qnext         print the name of the next pushable patch
    qpop          pop the current patch off the stack
-   qprev         print the name of the previous applied patch
+   qprev         print the name of the preceding applied patch
    qpush         push the next patch onto the stack
    qqueue        manage multiple patch queues
    qrefresh      update the current patch