diff --git a/mercurial/minirst.py b/mercurial/minirst.py
--- a/mercurial/minirst.py
+++ b/mercurial/minirst.py
@@ -558,10 +558,7 @@ def formathtml(blocks):
for row in table:
l = []
for v in zip(row):
- if not t:
- l.append('
%s | ' % v)
- else:
- l.append('%s | ' % v)
+ l.append('%s | ' % v)
t.append(' %s
\n' % ''.join(l))
out.append('\n' % ''.join(t))
elif btype == 'definition':
diff --git a/tests/test-help.t b/tests/test-help.t
--- a/tests/test-help.t
+++ b/tests/test-help.t
@@ -1531,7 +1531,7 @@ Dish up an empty repo; serve it cold.
options:
- -I | --include PATTERN [+] | include names matching the given patterns |
+ -I | --include PATTERN [+] | include names matching the given patterns |
-X | --exclude PATTERN [+] | exclude names matching the given patterns |
-S | --subrepos | recurse into subrepositories |
-n | --dry-run | do not perform actions, just print output |
@@ -1543,7 +1543,7 @@ Dish up an empty repo; serve it cold.
global options:
- -R | --repository REPO | repository root directory or name of overlay bundle file |
+ -R | --repository REPO | repository root directory or name of overlay bundle file |
| --cwd DIR | change working directory |
-y | --noninteractive | do not prompt, automatically pick the first choice for all prompts |
-q | --quiet | suppress output |
@@ -1643,7 +1643,7 @@ Dish up an empty repo; serve it cold.
options:
- -A | --after | record delete for missing files |
+ -A | --after | record delete for missing files |
-f | --force | remove (and delete) file even if added or modified |
-I | --include PATTERN [+] | include names matching the given patterns |
-X | --exclude PATTERN [+] | exclude names matching the given patterns |
@@ -1655,7 +1655,7 @@ Dish up an empty repo; serve it cold.
global options:
- -R | --repository REPO | repository root directory or name of overlay bundle file |
+ -R | --repository REPO | repository root directory or name of overlay bundle file |
| --cwd DIR | change working directory |
-y | --noninteractive | do not prompt, automatically pick the first choice for all prompts |
-q | --quiet | suppress output |
diff --git a/tests/test-minirst.py.out b/tests/test-minirst.py.out
--- a/tests/test-minirst.py.out
+++ b/tests/test-minirst.py.out
@@ -758,7 +758,7 @@ 30 column format:
html format:
----------------------------------------------------------------------
- a | b | c |
+ a | b | c |
1 | 2 | 3 |
foo | bar | baz this list is very very very long man |