hgbook

diff en/examples/results/mq.guards.qguard.neg.out @ 611:4432ad34b8e5

Check in example outputs with begin/end markers.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Mar 31 12:19:01 2009 -0700 (2009-03-31)
parents 0d5935744f87
children
line diff
     1.1 --- a/en/examples/results/mq.guards.qguard.neg.out	Mon Mar 09 21:39:23 2009 -0700
     1.2 +++ b/en/examples/results/mq.guards.qguard.neg.out	Tue Mar 31 12:19:01 2009 -0700
     1.3 @@ -1,4 +1,30 @@
     1.4 +<!-- BEGIN mq.guards.qguard.neg -->
     1.5  <screen><prompt>$</prompt> <userinput>hg qguard hello.patch -quux</userinput>
     1.6 +hg qguard: option -u not recognized
     1.7 +hg qguard [-l] [-n] -- [PATCH] [+GUARD]... [-GUARD]...
     1.8 +
     1.9 +set or print guards for a patch
    1.10 +
    1.11 +    Guards control whether a patch can be pushed. A patch with no
    1.12 +    guards is always pushed. A patch with a positive guard ("+foo") is
    1.13 +    pushed only if the qselect command has activated it. A patch with
    1.14 +    a negative guard ("-foo") is never pushed if the qselect command
    1.15 +    has activated it.
    1.16 +
    1.17 +    With no arguments, print the currently active guards.
    1.18 +    With arguments, set guards for the named patch.
    1.19 +    NOTE: Specifying negative guards now requires '--'.
    1.20 +
    1.21 +    To set guards on another patch:
    1.22 +      hg qguard -- other.patch +2.6.17 -stable
    1.23 +
    1.24 +options:
    1.25 +
    1.26 + -l --list  list all patches and guards
    1.27 + -n --none  drop all guards
    1.28 +
    1.29 +use "hg -v help qguard" to show global options
    1.30  <prompt>$</prompt> <userinput>hg qguard hello.patch</userinput>
    1.31 -hello.patch: -quux
    1.32 +hello.patch: unguarded
    1.33  </screen>
    1.34 +<!-- END mq.guards.qguard.neg -->