Mercurial > hg
annotate mercurial/templates/paper/filelogentry.tmpl @ 32658:55ff67ffcead
scmutil: introduce binnode(ctx) as paired function with intrev(ctx)
It seemed silly to convert ctx.hex() back to binary to use node.hex/short(),
or to use [:12] instead of node.short() because ctx.node() could be None.
Eventually I want to change wctx.rev() and wctx.node() to return wdirrev and
wdirid respectively, but that's quite big API breakage and can't be achieved
without some compatibility wrappers.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 03 Jun 2017 19:12:01 +0900 |
parents | f36dc643ffdc |
children | 9acc0360ff67 |
rev | line source |
---|---|
19454
f4a3b50a30bd
hgweb: make stripes in file log with CSS
Alexander Plavin <me@aplavin.ru>
parents:
18526
diff
changeset
|
1 <tr> |
15375
fe9d36a6853e
hgweb: fix dynamic date calculation not working under Safari
Brodie Rao <brodie@bitheap.org>
parents:
14046
diff
changeset
|
2 <td class="age">{date|rfc822date}</td> |
7411
b71ee3e00e81
coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
3 <td class="author">{author|person}</td> |
25108
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
19454
diff
changeset
|
4 <td class="description"> |
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
19454
diff
changeset
|
5 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a> |
25110
c9f382c8233a
hgweb: also display changeset bookmarks in file log (style=paper)
Anton Shestakov <engored@ya.ru>
parents:
25108
diff
changeset
|
6 {inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}{rename%filelogrename} |
25108
09ec4220a839
hgweb: split some long lines in paper, gitweb and monoblue styles
Anton Shestakov <engored@ya.ru>
parents:
19454
diff
changeset
|
7 </td> |
7411
b71ee3e00e81
coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff
changeset
|
8 </tr> |
31661
f36dc643ffdc
hgweb: add a "patch" query parameter to filelog command
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
25110
diff
changeset
|
9 {if(patch, '<tr><td colspan="3">{diff}</td></tr>')} |