[PATCH] mq: fix qselect help for qguard

timeless timeless at gmail.com
Tue Mar 29 09:03:38 CDT 2011


# HG changeset patch
# User timeless at mozdev.org
# Date 1301406323 -10800
# Node ID 3af9b314ecf30627f460458db913e6e8e28c685c
# Parent  48d606d7192b6f8f4fc8071fccdc5a83843ab2d3
mq: fix qselect help for qguard

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -2623,8 +2623,8 @@ def select(ui, repo, *args, **opts):
     selected guard, but will not be pushed if any negative guards
     match the current guard. For example::
 
-        qguard foo.patch -stable    (negative guard)
-        qguard bar.patch +stable    (positive guard)
+        qguard foo.patch -- -stable    (negative guard)
+        qguard bar.patch    +stable    (positive guard)
         qselect stable
 
     This activates the "stable" guard. mq will skip foo.patch (because


More information about the Mercurial-devel mailing list