Mercurial > hg
annotate mercurial/templates/raw/graphedge.tmpl @ 22225:baecf4e1b7d0
ancestors: add a __nonzero__ method
This allows using the object in a conditional the same way we can use list.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 15 Aug 2014 15:57:50 -0700 |
parents | d490edc71146 |
children |
rev | line source |
---|---|
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}) |