Commits

Bryan O'Sullivan  committed 5225ec1

Fix broken qguard example

  • Participants
  • Parent commits d568882

Comments (0)

Files changed (2)

File en/ch13-mq-collab.xml

 
     &interaction.mq.guards.qguard.neg;
 
+    <para id="x_74a">Notice that we prefixed the arguments to the <command>hg
+	qguard</command> command with a <literal>--</literal> here, so
+      that Mercurial would not interpret the text
+      <literal>-quux</literal> as an option.</para>
+
     <note>
+      <title>Setting vs. modifying</title>
+
       <para id="x_172">  The <command role="hg-ext-mq">qguard</command> command
 	<emphasis>sets</emphasis> the guards on a patch; it doesn't
 	<emphasis>modify</emphasis> them.  What this means is that if

File en/examples/mq.guards

 
 #$ name: qguard.neg
 
-hg qguard hello.patch -quux
+hg qguard -- hello.patch -quux
 hg qguard hello.patch
 
 #$ name: series