patch: hg log --diffstat
bos at serpentine.com
Sun Mar 2 23:35:45 CST 2008
Jamie Webb wrote:
> The attached patch adds an option to hg log (and incoming and outgoing)
> to get a diffstat for each revision. Is this useful to anyone?
It looks reasonable, although it's a bit weird that log alone would
sprout the ability to produce a diffstat, but not more obvious commands
such as diff or export.
The email extension uses -d for the short diffstat option. For
consistency, log should use the same letter, or quite likely not have a
short option at all.
Also, I notice that if one uses both -p and -s, the diffstat gets
printed after the patch. That seems wrong.
More information about the Mercurial