Mercurial > hg
annotate 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 |
rev | line source |
---|---|
35532
bb5a03dfd7ff
spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents:
35522
diff
changeset
|
1 <li class="parity{parity}" data-node="{node|short}"> |
bb5a03dfd7ff
spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents:
35522
diff
changeset
|
2 <div class="fg"> |
bb5a03dfd7ff
spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents:
35522
diff
changeset
|
3 <span class="desc"> |
bb5a03dfd7ff
spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents:
35522
diff
changeset
|
4 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a> |
bb5a03dfd7ff
spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents:
35522
diff
changeset
|
5 </span> |
bb5a03dfd7ff
spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents:
35522
diff
changeset
|
6 <div class="info"><span class="age">{date|rfc822date}</span>, by {author|person}</div> |
bb5a03dfd7ff
spartan: make actual changeset entries have backgrounds on /graph
Anton Shestakov <av6@dwimlabs.net>
parents:
35522
diff
changeset
|
7 </div> |
35222
66c11a66ad1a
spartan: render changesets server-side on /graph page
Anton Shestakov <av6@dwimlabs.net>
parents:
diff
changeset
|
8 </li> |