[PATCH] hgweb: make graph data suitable for template usage

Matt Mackall mpm at selenic.com
Wed May 16 16:30:19 CDT 2012


On Thu, 2012-05-03 at 01:08 +0200, Paul Boddie wrote:
> # HG changeset patch
> # User Paul Boddie <paul at boddie.org.uk>
> # Date 1335996246 -7200
> # Node ID b9e5bb3e97b3cbc4190bc020431d7f19e1f556b8
> # Parent  d7c9976b930e1fdbf8608a65462cd124977c7d53
> hgweb: make graph data suitable for template usage

This is problematic in that it will break anyone's locally-customized
templates. We should instead introduce a second graph data keyword. With
defered evaluation, we can avoid calculating this data twice per
request.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list