Mercurial > hg
changeset 20021:4830763f825c
hgweb: remove unused argument of entries function in filelog
This doesn't change the behavior as the argument wasn't used anyway.
author | Alexander Plavin <alexander@plav.in> |
---|---|
date | Sun, 10 Nov 2013 18:05:53 +0400 |
parents | 6fb59247c7d5 |
children | d85dfe211c71 |
files | mercurial/hgweb/webcommands.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Sat Nov 16 23:14:20 2013 +0900 +++ b/mercurial/hgweb/webcommands.py Sun Nov 10 18:05:53 2013 +0400 @@ -836,7 +836,7 @@ end = min(count, start + revcount) # last rev on this page parity = paritygen(web.stripecount, offset=start - end) - def entries(latestonly, **map): + def entries(latestonly): l = [] repo = web.repo @@ -871,8 +871,8 @@ revnav = webutil.filerevnav(web.repo, fctx.path()) nav = revnav.gen(end - 1, revcount, count) return tmpl("filelog", file=f, node=fctx.hex(), nav=nav, - entries=lambda **x: entries(latestonly=False, **x), - latestentry=lambda **x: entries(latestonly=True, **x), + entries=lambda **x: entries(latestonly=False), + latestentry=lambda **x: entries(latestonly=True), revcount=revcount, morevars=morevars, lessvars=lessvars) def archive(web, req, tmpl):