changeset 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 9668c653eb9d
children 4ec40a4db64a
files hgext/histedit.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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: