##// END OF EJS Templates
hgweb: remove unused argument of entries function in filelog...
Alexander Plavin -
r20021:4830763f default
parent child Browse files
Show More
@@ -836,7 +836,7 def filelog(web, req, tmpl):
836 end = min(count, start + revcount) # last rev on this page
836 end = min(count, start + revcount) # last rev on this page
837 parity = paritygen(web.stripecount, offset=start - end)
837 parity = paritygen(web.stripecount, offset=start - end)
838
838
839 def entries(latestonly, **map):
839 def entries(latestonly):
840 l = []
840 l = []
841
841
842 repo = web.repo
842 repo = web.repo
@@ -871,8 +871,8 def filelog(web, req, tmpl):
871 revnav = webutil.filerevnav(web.repo, fctx.path())
871 revnav = webutil.filerevnav(web.repo, fctx.path())
872 nav = revnav.gen(end - 1, revcount, count)
872 nav = revnav.gen(end - 1, revcount, count)
873 return tmpl("filelog", file=f, node=fctx.hex(), nav=nav,
873 return tmpl("filelog", file=f, node=fctx.hex(), nav=nav,
874 entries=lambda **x: entries(latestonly=False, **x),
874 entries=lambda **x: entries(latestonly=False),
875 latestentry=lambda **x: entries(latestonly=True, **x),
875 latestentry=lambda **x: entries(latestonly=True),
876 revcount=revcount, morevars=morevars, lessvars=lessvars)
876 revcount=revcount, morevars=morevars, lessvars=lessvars)
877
877
878 def archive(web, req, tmpl):
878 def archive(web, req, tmpl):
General Comments 0
You need to be logged in to leave comments. Login now