Show More
@@ -974,12 +974,12 b' def filelog(web, req, tmpl):' | |||||
974 | count = fctx.filerev() + 1 |
|
974 | count = fctx.filerev() + 1 | |
975 | start = max(0, fctx.filerev() - revcount + 1) # first rev on this page |
|
975 | start = max(0, fctx.filerev() - revcount + 1) # first rev on this page | |
976 | end = min(count, start + revcount) # last rev on this page |
|
976 | end = min(count, start + revcount) # last rev on this page | |
977 |
parity = paritygen(web.stripecount, offset=start - end |
|
977 | parity = paritygen(web.stripecount, offset=start - end) | |
978 |
|
978 | |||
979 | repo = web.repo |
|
979 | repo = web.repo | |
980 | revs = fctx.filelog().revs(start, end - 1) |
|
980 | revs = fctx.filelog().revs(start, end - 1) | |
981 | entries = [] |
|
981 | entries = [] | |
982 |
for i in |
|
982 | for i in revs: | |
983 | iterfctx = fctx.filectx(i) |
|
983 | iterfctx = fctx.filectx(i) | |
984 | entries.append(dict( |
|
984 | entries.append(dict( | |
985 | parity=next(parity), |
|
985 | parity=next(parity), | |
@@ -987,6 +987,7 b' def filelog(web, req, tmpl):' | |||||
987 | file=f, |
|
987 | file=f, | |
988 | rename=webutil.renamelink(iterfctx), |
|
988 | rename=webutil.renamelink(iterfctx), | |
989 | **webutil.commonentry(repo, iterfctx))) |
|
989 | **webutil.commonentry(repo, iterfctx))) | |
|
990 | entries.reverse() | |||
990 |
|
991 | |||
991 | latestentry = entries[:1] |
|
992 | latestentry = entries[:1] | |
992 |
|
993 |
General Comments 0
You need to be logged in to leave comments.
Login now