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%s
\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:

- + @@ -1543,7 +1543,7 @@ Dish up an empty repo; serve it cold. global 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--subreposrecurse into subrepositories
-n--dry-rundo not perform actions, just print output
- + @@ -1643,7 +1643,7 @@ Dish up an empty repo; serve it cold. options:

-R--repository REPOrepository root directory or name of overlay bundle file
-R--repository REPOrepository root directory or name of overlay bundle file
--cwd DIRchange working directory
-y--noninteractivedo not prompt, automatically pick the first choice for all prompts
-q--quietsuppress output
- + @@ -1655,7 +1655,7 @@ Dish up an empty repo; serve it cold. global options:

-A--afterrecord delete for missing files
-A--afterrecord delete for missing files
-f--forceremove (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
- + 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: ----------------------------------------------------------------------
-R--repository REPOrepository root directory or name of overlay bundle file
-R--repository REPOrepository root directory or name of overlay bundle file
--cwd DIRchange working directory
-y--noninteractivedo not prompt, automatically pick the first choice for all prompts
-q--quietsuppress output
- +
abc
abc
123
foobarbaz this list is very very very long man