mercurial/templates/raw/graphedge.tmpl
author Yuya Nishihara <yuya@tcha.org>
Sun, 09 Aug 2015 16:06:36 +0900
branchstable
changeset 25995 4f703dcc626f
parent 16773 d490edc71146
permissions -rw-r--r--
revset: prevent crash caused by empty group expression while optimizing "and" An empty group expression "()" generates None in AST, so the optimizer have to test it before destructuring a tuple. The error message, "missing argument", is somewhat obscure, but it should be better than crash.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16773
d490edc71146 hgweb: make graph data suitable for template usage
Paul Boddie <paul@boddie.org.uk>
parents:
diff changeset
     1
edge:        ({col}, {row}) -> ({nextcol}, {nextrow}) (color {color})