comparison 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
comparison
equal deleted inserted replaced
24868:9668c653eb9d 24869:95a67d687903
143 repository that Mercurial does not detect to be related to the source 143 repository that Mercurial does not detect to be related to the source
144 repo, you can add a ``--force`` option. 144 repo, you can add a ``--force`` option.
145 145
146 Histedit rule lines are truncated to 80 characters by default. You 146 Histedit rule lines are truncated to 80 characters by default. You
147 can customise this behaviour by setting a different length in your 147 can customise this behaviour by setting a different length in your
148 configuration file: 148 configuration file::
149 149
150 [histedit] 150 [histedit]
151 linelen = 120 # truncate rule lines at 120 characters 151 linelen = 120 # truncate rule lines at 120 characters
152 """ 152 """
153 153
154 try: 154 try:
155 import cPickle as pickle 155 import cPickle as pickle
156 pickle.dump # import now 156 pickle.dump # import now