Mercurial > hg
view mercurial/templates/spartan/graphentry.tmpl @ 44199:7f8bdee0034e
copies: define a type to return from mergecopies()
We'll soon return two instances of many of the dicts from
`copies.mergecopies()`. That will mean that we need to return 9
different dicts, which is clearly not manageable. This patch instead
encapsulates the 4 dicts we'll duplicate in a new type. For now, we
still just return one instance of it (plus the separate `diverge`
dict).
Differential Revision: https://phab.mercurial-scm.org/D7989
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 22 Jan 2020 14:35:30 -0800 |
parents | bb5a03dfd7ff |
children |
line wrap: on
line source
<li class="parity{parity}" data-node="{node|short}"> <div class="fg"> <span class="desc"> <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a> </span> <div class="info"><span class="age">{date|rfc822date}</span>, by {author|person}</div> </div> </li>