changeset 9824:87c92b260710

mq: fix literal blocks in docstrings
author Martin Geisler <mg@lazybytes.net>
date Wed, 11 Nov 2009 00:05:12 +0100
parents 11d7bb5e0df2
children 0d850f8beea6
files hgext/mq.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)