[PATCH] lets be able to show diffstat along with diff
Yuya Nishihara
yuya at tcha.org
Thu Aug 12 11:59:41 CDT 2010
Alecs King wrote:
> On Thu, Aug 12, 2010 at 12:41:23AM -0500, Matt Mackall wrote:
> > Can anyone give a rationale why
> > hg log -r tip -p --stat == hg log -r tip -p?
>
> you meant,
>
> hg log -r tip -p --stat == hg log -r tip -stat
I added `hg log --stat` option corresponding to `hg diff`,
`--stat` supersedes diff output. But now it looks like incomplete feature
rather than design.
It may be usable for `-p --stat` to be diff with diffstat.
> > Not sure what to make of hg diff --stat though.
>
> Since hg diff is meant to show diff (duh), adding a default show-diff
> option (-u) makes sense.
I prefer `hg diff --stat && hg diff` in this case. It isn't hard to type.
Yuya,
More information about the Mercurial-devel
mailing list