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