Show More
@@ -972,7 +972,7 b' def filelog(web, req, tmpl):' | |||||
972 | morevars['revcount'] = revcount * 2 |
|
972 | morevars['revcount'] = revcount * 2 | |
973 |
|
973 | |||
974 | count = fctx.filerev() + 1 |
|
974 | count = fctx.filerev() + 1 | |
975 |
start = max(0, |
|
975 | start = max(0, count - revcount) # 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 |
General Comments 0
You need to be logged in to leave comments.
Login now