hgbook

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