histedit: fix reST syntax problem of example code in help document stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Tue, 28 Apr 2015 23:27:18 +0900
branchstable
changeset 24869 95a67d687903
parent 24868 9668c653eb9d
child 24870 4ec40a4db64a
histedit: fix reST syntax problem of example code in help document To show example code correctly in online help, text block of it should be preceded by "::" and indented.
hgext/histedit.py
--- a/hgext/histedit.py	Mon Apr 27 19:13:55 2015 -0300
+++ b/hgext/histedit.py	Tue Apr 28 23:27:18 2015 +0900
@@ -145,10 +145,10 @@
 
 Histedit rule lines are truncated to 80 characters by default. You
 can customise this behaviour by setting a different length in your
-configuration file:
+configuration file::
 
-[histedit]
-linelen = 120      # truncate rule lines at 120 characters
+  [histedit]
+  linelen = 120      # truncate rule lines at 120 characters
 """
 
 try: