mq: fix literal blocks in docstrings
authorMartin Geisler <mg@lazybytes.net>
Wed, 11 Nov 2009 00:05:12 +0100
changeset 9824 87c92b260710
parent 9823 11d7bb5e0df2
child 9825 0d850f8beea6
mq: fix literal blocks in docstrings
hgext/mq.py
--- a/hgext/mq.py	Tue Nov 10 23:45:24 2009 +0100
+++ b/hgext/mq.py	Wed Nov 11 00:05:12 2009 +0100
@@ -2090,7 +2090,8 @@
     With arguments, set guards for the named patch.
     NOTE: Specifying negative guards now requires '--'.
 
-    To set guards on another patch:
+    To set guards on another patch::
+
       hg qguard -- other.patch +2.6.17 -stable
     '''
     def status(idx):
@@ -2336,7 +2337,7 @@
     qselect to tell mq which guards to use. A patch will be pushed if
     it has no guards or any positive guards match the currently
     selected guard, but will not be pushed if any negative guards
-    match the current guard. For example:
+    match the current guard. For example::
 
         qguard foo.patch -stable    (negative guard)
         qguard bar.patch +stable    (positive guard)