hg qguard#
set or print guards for a patch#
hg qguard [-l] [-n] [PATCH] [-- [+GUARD]... [-GUARD]...]
This command is provided by the mq extension.
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 `hg qselect` command has activated it. A patch with a negative guard ("-foo") is never pushed if the `hg 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
Returns 0 on success.
Options
|
|
list all patches and guards |
|
|
drop all guards |