[PATCH] hgweb: make graph data suitable for template usage
Matt Mackall
mpm at selenic.com
Thu May 17 15:50:06 CDT 2012
On Thu, 2012-05-17 at 21:40 +0200, Paul Boddie wrote:
> Sure. I was just wondering whether there was some kind of well-defined
> interface to the graph functionality in JavaScript. If the themes can do what
> they like, calling into the mercurial.js code as they see fit (that is, not
> just calling the render function and getting callbacks to the vertex
> function), then there's not much flexibility left for us.
Again, the boundary is between the templates (everything in
mercurial/templates/) and the server. If a change in the server REQUIRES
a corresponding change in the templates, it is covered in failsauce. And
the javascript code is part of the templates.
Regarding changenav: I wasn't aware of that, argh. But past failures of
review obviously don't establish valid precedent for future
recklessness.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list