commands: use minirst parser when displaying help stable
authorMartin Geisler <mg@lazybytes.net>
Thu, 16 Jul 2009 23:25:26 +0200
branchstable
changeset 624 2b7eb429112e
parent 623 f27b8d46e708
child 625 b17b1cf1341a
commands: use minirst parser when displaying help [ original upstream description ]
hgkw/keyword.py
tests/test-keyword.out
--- a/hgkw/keyword.py	Thu Jul 23 20:00:23 2009 +0100
+++ b/hgkw/keyword.py	Thu Jul 16 23:25:26 2009 +0200
@@ -38,7 +38,7 @@
 Configuration is done in the [keyword] and [keywordmaps] sections of hgrc
 files.
 
-Example:
+Example::
 
     [keyword]
     # expand keywords in every python file except those matching "x*"
--- a/tests/test-keyword.out	Thu Jul 23 20:00:23 2009 +0100
+++ b/tests/test-keyword.out	Thu Jul 16 23:25:26 2009 +0200
@@ -13,10 +13,10 @@
 
 Example:
 
-    [keyword]
-    # expand keywords in every python file except those matching "x*"
-    **.py =
-    x*    = ignore
+[keyword]
+# expand keywords in every python file except those matching "x*"
+**.py =
+x*    = ignore
 
 NOTE: the more specific you are in your filename patterns the less you lose
 speed in huge repositories.