patch: hg log --diffstat

Matt Mackall mpm at selenic.com
Sun Mar 2 23:22:55 CST 2008


On Sun, Mar 02, 2008 at 09:35:45PM -0800, Bryan O'Sullivan wrote:
> 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.

I'd rather we not do this. I'm pretty sure it can already be done with
extdiff (globally), and we've got so many options already...

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list