Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/webcommands.py @ 38141:53cc81a8caf6
hgweb: wrap {entries}* of filelog with mappinglist
They were lists of mappings.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 04 Apr 2018 20:37:52 +0900 |
parents | 220058198be6 |
children | b10a9ace2738 |
comparison
equal
deleted
inserted
replaced
38140:220058198be6 | 38141:53cc81a8caf6 |
---|---|
1127 return web.sendtemplate( | 1127 return web.sendtemplate( |
1128 'filelog', | 1128 'filelog', |
1129 file=f, | 1129 file=f, |
1130 nav=nav, | 1130 nav=nav, |
1131 symrev=webutil.symrevorshortnode(web.req, fctx), | 1131 symrev=webutil.symrevorshortnode(web.req, fctx), |
1132 entries=entries, | 1132 entries=templateutil.mappinglist(entries), |
1133 descend=descend, | 1133 descend=descend, |
1134 patch=patch, | 1134 patch=patch, |
1135 latestentry=latestentry, | 1135 latestentry=templateutil.mappinglist(latestentry), |
1136 linerange=linerange, | 1136 linerange=linerange, |
1137 revcount=revcount, | 1137 revcount=revcount, |
1138 morevars=morevars, | 1138 morevars=morevars, |
1139 lessvars=lessvars, | 1139 lessvars=lessvars, |
1140 **pycompat.strkwargs(webutil.commonentry(web.repo, fctx))) | 1140 **pycompat.strkwargs(webutil.commonentry(web.repo, fctx))) |