[PATCH 2 of 3] paper, coal: display diffstat on the changeset page

Matt Mackall mpm at selenic.com
Thu Jun 2 11:48:40 CDT 2011


On Thu, 2011-06-02 at 21:12 +0800, Steven Brown wrote:
> # HG changeset patch
> # User Steven Brown <StevenGBrown at gmail.com>
> # Date 1307014711 -28800
> # Node ID b76b2ca94099121ed0b073af7db51853b07ee4c3
> # Parent  a9941bd9c6b03f2cb17e0183ca63736cad16097f
> paper, coal: display diffstat on the changeset page
> 
> The list of changed files can be expanded to display the diffstat. This expanded
> view also includes 'file', 'annotate', 'diff' and 'revisions' links, similar to
> the monoblue changeset page.

This looks good for most csets, but there are issues with merges.

Please take a look at the results generated on a merge changeset. For
instance, cset 4f695345979c in the Mercurial repo.

The diff itself (which is relative to the first parent) only contains
two files. But the files list mentions 7 files, all of which did in fact
get touched in this merge.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list