770 "branches": webutil.nodebranchdict(repo, iterfctx)}) |
770 "branches": webutil.nodebranchdict(repo, iterfctx)}) |
771 for e in reversed(l): |
771 for e in reversed(l): |
772 yield e |
772 yield e |
773 |
773 |
774 nodefunc = lambda x: fctx.filectx(fileid=x) |
774 nodefunc = lambda x: fctx.filectx(fileid=x) |
775 nav = webutil.revnav(nodefunc).gen(end - 1, revcount, count) |
775 nav = webutil.filerevnav(nodefunc).gen(end - 1, revcount, count) |
776 return tmpl("filelog", file=f, node=fctx.hex(), nav=nav, |
776 return tmpl("filelog", file=f, node=fctx.hex(), nav=nav, |
777 entries=lambda **x: entries(latestonly=False, **x), |
777 entries=lambda **x: entries(latestonly=False, **x), |
778 latestentry=lambda **x: entries(latestonly=True, **x), |
778 latestentry=lambda **x: entries(latestonly=True, **x), |
779 revcount=revcount, morevars=morevars, lessvars=lessvars) |
779 revcount=revcount, morevars=morevars, lessvars=lessvars) |
780 |
780 |