Mercurial > hgbook
view en/examples/results/mq.guards.qguard.neg.out @ 709:4432ad34b8e5
Check in example outputs with begin/end markers.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 31 Mar 2009 12:19:01 -0700 |
parents | 0d5935744f87 |
children |
line wrap: on
line source
<!-- BEGIN mq.guards.qguard.neg --> <screen><prompt>$</prompt> <userinput>hg qguard hello.patch -quux</userinput> hg qguard: option -u not recognized hg qguard [-l] [-n] -- [PATCH] [+GUARD]... [-GUARD]... set or print guards for a patch Guards control whether a patch can be pushed. A patch with no guards is always pushed. A patch with a positive guard ("+foo") is pushed only if the qselect command has activated it. A patch with a negative guard ("-foo") is never pushed if the qselect command has activated it. With no arguments, print the currently active guards. With arguments, set guards for the named patch. NOTE: Specifying negative guards now requires '--'. To set guards on another patch: hg qguard -- other.patch +2.6.17 -stable options: -l --list list all patches and guards -n --none drop all guards use "hg -v help qguard" to show global options <prompt>$</prompt> <userinput>hg qguard hello.patch</userinput> hello.patch: unguarded </screen> <!-- END mq.guards.qguard.neg -->