1. Bryan O'Sullivan
  2. hgbook


Bryan O'Sullivan  committed 5225ec1

Fix broken qguard example

  • Participants
  • Parent commits d568882
  • Branches default

Comments (0)

Files changed (2)

File en/ch13-mq-collab.xml

View file
+    <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>
+      <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

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