# HG changeset patch # User Bryan O'Sullivan # Date 1242360372 25200 # Node ID 5225ec140003740b7b4bf745bc901276f6dc7c48 # Parent d5688822c51db6503df6fb0c1361a039b53f636d Fix broken qguard example diff -r d5688822c51d -r 5225ec140003 en/ch13-mq-collab.xml --- a/en/ch13-mq-collab.xml Thu May 07 22:32:55 2009 -0700 +++ b/en/ch13-mq-collab.xml Thu May 14 21:06:12 2009 -0700 @@ -152,7 +152,14 @@ &interaction.mq.guards.qguard.neg; + Notice that we prefixed the arguments to the hg + qguard command with a -- here, so + that Mercurial would not interpret the text + -quux as an option. + + Setting vs. modifying + The qguard command sets the guards on a patch; it doesn't modify them. What this means is that if diff -r d5688822c51d -r 5225ec140003 en/examples/mq.guards --- a/en/examples/mq.guards Thu May 07 22:32:55 2009 -0700 +++ b/en/examples/mq.guards Thu May 14 21:06:12 2009 -0700 @@ -29,7 +29,7 @@ #$ name: qguard.neg -hg qguard hello.patch -quux +hg qguard -- hello.patch -quux hg qguard hello.patch #$ name: series