##// END OF EJS Templates
hgweb: wrap {branches} and {entries} of branches with mappinggenerator...
Yuya Nishihara -
r37932:89db7812 default
parent child Browse files
Show More
@@ -292,7 +292,7 b' def branchentries(repo, stripecount, lim'
292 292 parity = paritygen(stripecount)
293 293 sortkey = lambda item: (not item[1], item[0].rev())
294 294
295 def entries(**map):
295 def entries(context):
296 296 count = 0
297 297 if not tips:
298 298 for tag, hs, tip, closed in repo.branchmap().iterbranches():
@@ -315,7 +315,7 b' def branchentries(repo, stripecount, lim'
315 315 'date': ctx.date()
316 316 }
317 317
318 return entries
318 return templateutil.mappinggenerator(entries)
319 319
320 320 def cleanpath(repo, path):
321 321 path = path.lstrip('/')
General Comments 0
You need to be logged in to leave comments. Login now