D5485: log: fixes line wrap on diffstat (issue5800)

Yuya Nishihara yuya at tcha.org
Wed Jan 2 03:51:39 UTC 2019


Looks generally good.

Can you add some tests with/without the -T option? There are two callers of
_showpatch().

> +        graphwidth = props.get('graphwidth')
> +        if not graphwidth:
> +            graphwidth = 0

Nit: can be written as `props.get('graphwidth', 0)`.


More information about the Mercurial-devel mailing list