# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1360446681 0 # Node ID 13aa81e2fded35389403d2ae3a750e5af6c65dab # Parent c9d923f5d8aebe2f5f297be9dab27f2f307b086b minirst: HTML formatter tweaks output table rows on distinct lines don't make the first row a table header diff -r c9d923f5d8ae -r 13aa81e2fded mercurial/minirst.py --- a/mercurial/minirst.py Sat Feb 09 17:44:25 2013 -0500 +++ b/mercurial/minirst.py Sat Feb 09 21:51:21 2013 +0000 @@ -564,7 +564,7 @@ l = [] for v in row: l.append('%s' % escape(v)) - t.append(' %s\n' % ''.join(l)) + t.append('%s\n' % '\n'.join(l)) out.append('\n%s
\n' % ''.join(t)) elif btype == 'definition': openlist('dl', level) diff -r c9d923f5d8ae -r 13aa81e2fded tests/test-help.t --- a/tests/test-help.t Sat Feb 09 17:44:25 2013 -0500 +++ b/tests/test-help.t Sat Feb 09 21:51:21 2013 +0000 @@ -1531,10 +1531,18 @@ options:

- - - - + + + + + + + + + + + +
-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
-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

[+] marked option can be specified multiple times @@ -1543,22 +1551,54 @@ global options:

- - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-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
-v--verboseenable additional output
--config CONFIG [+]set/override config option (use 'section.name=value')
--debugenable debugging output
--debuggerstart debugger
--encoding ENCODEset the charset encoding (default: ascii)
--encodingmode MODEset the charset encoding mode (default: strict)
--tracebackalways print a traceback on exception
--timetime how long the command takes
--profileprint command execution profile
--versionoutput version information and exit
-h--helpdisplay help and exit
--hiddenconsider hidden changesets
-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
-v--verboseenable additional output
--config CONFIG [+]set/override config option (use 'section.name=value')
--debugenable debugging output
--debuggerstart debugger
--encoding ENCODEset the charset encoding (default: ascii)
--encodingmode MODEset the charset encoding mode (default: strict)
--tracebackalways print a traceback on exception
--timetime how long the command takes
--profileprint command execution profile
--versionoutput version information and exit
-h--helpdisplay help and exit
--hiddenconsider hidden changesets

[+] marked option can be specified multiple times @@ -1643,10 +1683,18 @@ options:

- - - - + + + + + + + + + + + +
-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
-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

[+] marked option can be specified multiple times @@ -1655,22 +1703,54 @@ global options:

- - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-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
-v--verboseenable additional output
--config CONFIG [+]set/override config option (use 'section.name=value')
--debugenable debugging output
--debuggerstart debugger
--encoding ENCODEset the charset encoding (default: ascii)
--encodingmode MODEset the charset encoding mode (default: strict)
--tracebackalways print a traceback on exception
--timetime how long the command takes
--profileprint command execution profile
--versionoutput version information and exit
-h--helpdisplay help and exit
--hiddenconsider hidden changesets
-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
-v--verboseenable additional output
--config CONFIG [+]set/override config option (use 'section.name=value')
--debugenable debugging output
--debuggerstart debugger
--encoding ENCODEset the charset encoding (default: ascii)
--encodingmode MODEset the charset encoding mode (default: strict)
--tracebackalways print a traceback on exception
--timetime how long the command takes
--profileprint command execution profile
--versionoutput version information and exit
-h--helpdisplay help and exit
--hiddenconsider hidden changesets

[+] marked option can be specified multiple times diff -r c9d923f5d8ae -r 13aa81e2fded tests/test-minirst.py.out --- a/tests/test-minirst.py.out Sat Feb 09 17:44:25 2013 -0500 +++ b/tests/test-minirst.py.out Sat Feb 09 21:51:21 2013 +0000 @@ -758,9 +758,15 @@ html format: ---------------------------------------------------------------------- - - - + + + + + + + + +
abc
123
foobarbaz this list is very very very long man
abc
123
foobarbaz this list is very very very long man
----------------------------------------------------------------------