[PATCH 5 of 7] hgweb: wrap {entries}* of changelog with mappinglist
Yuya Nishihara
yuya at tcha.org
Sat May 12 23:20:02 EDT 2018
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1522840280 -32400
# Wed Apr 04 20:11:20 2018 +0900
# Node ID fbec01b4ef2287ede8255e14ac42ac3e6ef79906
# Parent 074088cc1a58201566d9a0c024db122c45149d79
hgweb: wrap {entries}* of changelog with mappinglist
They were lists of mappings.
diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py
+++ b/mercurial/hgweb/webcommands.py
@@ -447,9 +447,9 @@ def changelog(web, shortlog=False):
rev=pos,
symrev=symrev,
changesets=count,
- entries=entries,
- latestentry=latestentry,
- nextentry=nextentry,
+ entries=templateutil.mappinglist(entries),
+ latestentry=templateutil.mappinglist(latestentry),
+ nextentry=templateutil.mappinglist(nextentry),
archives=web.archivelist('tip'),
revcount=revcount,
morevars=morevars,
More information about the Mercurial-devel
mailing list