help: fix keyword search result formatting
authorOlav Reinert <seroton10@gmail.com>
Tue, 05 Jun 2012 00:32:18 +0200
changeset 16870 54b03085065f
parent 16868 eb88ed4269c5
child 16871 d566aa319d5f
help: fix keyword search result formatting This patch fixes the broken formatting of keyword search results. Some blank lines were missing from the RST markup, which caused markup to be printed.
mercurial/commands.py
--- a/mercurial/commands.py	Fri Jun 01 15:44:13 2012 -0700
+++ b/mercurial/commands.py	Tue Jun 05 00:32:18 2012 +0200
@@ -3332,6 +3332,7 @@
             if matches[t]:
                 rst.append('%s:\n\n' % title)
                 rst.extend(minirst.maketable(matches[t], 1))
+                rst.append('\n')
     elif name and name != 'shortlist':
         i = None
         if unknowncmd: