[PATCH 3 of 4] doc: add some doctests to gendoc.py to check option printing

Simon Heimberg simohe at besonet.ch
Wed Mar 5 23:58:33 CST 2014


On 20.02.2014 18:04, Simon Heimberg wrote:
> # HG changeset patch
> # User simon at laptop-tosh
> # Date 1392909203 -3600
> #      Thu Feb 20 16:13:23 2014 +0100
> # Node ID 8e19fd0d5ec2a8dc9c361bcecab020fa400a1256
> # Parent  9f1794bed2db8a443e175de16871dab4ef8dda2b
> doc: add some doctests to gendoc.py to check option printing

Any feedback to the patches in this series?
(Patch 4 is optional, therefore replying to 3)

>
> diff -r 9f1794bed2db -r 8e19fd0d5ec2 doc/gendoc.py
> --- a/doc/gendoc.py	Thu Feb 20 09:17:22 2014 +0100
> +++ b/doc/gendoc.py	Thu Feb 20 16:13:23 2014 +0100
> @@ -76,7 +76,26 @@
>
>       return d
>
> -def showdoc(ui):
> +def showdoc(ui, globalopts=globalopts, table=table, helptable=helptable,
> +            extensionnames=None):
<snip>


More information about the Mercurial-devel mailing list