Show More
@@ -394,12 +394,12 b' def changelog(web, shortlog=False):' | |||
|
394 | 394 | ctx = web.repo['tip'] |
|
395 | 395 | symrev = 'tip' |
|
396 | 396 | |
|
397 | def changelist(): | |
|
397 | def changelist(maxcount): | |
|
398 | 398 | revs = [] |
|
399 | 399 | if pos != -1: |
|
400 | 400 | revs = web.repo.changelog.revs(pos, 0) |
|
401 | 401 | |
|
402 |
for entry in webutil.changelistentries(web, revs, |
|
|
402 | for entry in webutil.changelistentries(web, revs, maxcount, parity): | |
|
403 | 403 | yield entry |
|
404 | 404 | |
|
405 | 405 | if shortlog: |
@@ -426,7 +426,7 b' def changelog(web, shortlog=False):' | |||
|
426 | 426 | |
|
427 | 427 | changenav = webutil.revnav(web.repo).gen(pos, revcount, count) |
|
428 | 428 | |
|
429 | entries = list(changelist()) | |
|
429 | entries = list(changelist(revcount + 1)) | |
|
430 | 430 | latestentry = entries[:1] |
|
431 | 431 | if len(entries) > revcount: |
|
432 | 432 | nextentry = entries[-1:] |
General Comments 0
You need to be logged in to leave comments.
Login now