mercurial/hgweb/webutil.py
changeset 51858 607e94e01851
parent 50926 18c8c18993f0
child 51859 f4733654f144
equal deleted inserted replaced
51857:f81e0ce5103a 51858:607e94e01851
   598             _listfilesgen, args=(ctx, web.stripecount)
   598             _listfilesgen, args=(ctx, web.stripecount)
   599         ),
   599         ),
   600         diffsummary=lambda context, mapping: diffsummary(diffstatsgen),
   600         diffsummary=lambda context, mapping: diffsummary(diffstatsgen),
   601         diffstat=diffstats,
   601         diffstat=diffstats,
   602         archives=web.archivelist(ctx.hex()),
   602         archives=web.archivelist(ctx.hex()),
   603         **pycompat.strkwargs(commonentry(web.repo, ctx))
   603         **pycompat.strkwargs(commonentry(web.repo, ctx)),
   604     )
   604     )
   605 
   605 
   606 
   606 
   607 def _listfilediffsgen(context, files, node, max):
   607 def _listfilediffsgen(context, files, node, max):
   608     for f in files[:max]:
   608     for f in files[:max]: