hgbook

view 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 source
1 <!-- BEGIN mq.guards.qguard.neg -->
2 <screen><prompt>$</prompt> <userinput>hg qguard hello.patch -quux</userinput>
3 hg qguard: option -u not recognized
4 hg qguard [-l] [-n] -- [PATCH] [+GUARD]... [-GUARD]...
6 set or print guards for a patch
8 Guards control whether a patch can be pushed. A patch with no
9 guards is always pushed. A patch with a positive guard ("+foo") is
10 pushed only if the qselect command has activated it. A patch with
11 a negative guard ("-foo") is never pushed if the qselect command
12 has activated it.
14 With no arguments, print the currently active guards.
15 With arguments, set guards for the named patch.
16 NOTE: Specifying negative guards now requires '--'.
18 To set guards on another patch:
19 hg qguard -- other.patch +2.6.17 -stable
21 options:
23 -l --list list all patches and guards
24 -n --none drop all guards
26 use "hg -v help qguard" to show global options
27 <prompt>$</prompt> <userinput>hg qguard hello.patch</userinput>
28 hello.patch: unguarded
29 </screen>
30 <!-- END mq.guards.qguard.neg -->