[PATCH 3 of 4] diff: add --stat and --stat-width options for diffstat output

timeless timeless at gmail.com
Mon Aug 10 09:46:35 CDT 2009


Brodie Rao wrote:
> +            raise util.Abort(_('width must be a positive integer or "auto"'))
> +        if width <= 0: raise util.Abort(_('width must be positive'))

the second message should really be the same as the first.

If I do

--stat-width=-5

and you say "width must be positive", I might try --stat-width=5.5

There's no reason to give me two different errors.



More information about the Mercurial-devel mailing list