diff hgext/histedit.py @ 24869:95a67d687903 stable

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Tue, 28 Apr 2015 23:27:18 +0900
parents 2bb0e6cc39f6
children b5eb01500696
line wrap: on
line diff
--- 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: