Show More
@@ -259,7 +259,7 b' def changelog(web, req, tmpl, shortlog=F' | |||||
259 | else: |
|
259 | else: | |
260 | ctx = web.repo['tip'] |
|
260 | ctx = web.repo['tip'] | |
261 |
|
261 | |||
262 |
def changelist(latestonly |
|
262 | def changelist(latestonly): | |
263 | revs = [] |
|
263 | revs = [] | |
264 | if pos != -1: |
|
264 | if pos != -1: | |
265 | revs = web.repo.changelog.revs(pos, 0) |
|
265 | revs = web.repo.changelog.revs(pos, 0) | |
@@ -311,8 +311,8 b' def changelog(web, req, tmpl, shortlog=F' | |||||
311 |
|
311 | |||
312 | return tmpl(shortlog and 'shortlog' or 'changelog', changenav=changenav, |
|
312 | return tmpl(shortlog and 'shortlog' or 'changelog', changenav=changenav, | |
313 | node=ctx.hex(), rev=pos, changesets=count, |
|
313 | node=ctx.hex(), rev=pos, changesets=count, | |
314 |
entries=lambda **x: changelist(latestonly=False |
|
314 | entries=lambda **x: changelist(latestonly=False), | |
315 |
latestentry=lambda **x: changelist(latestonly=True |
|
315 | latestentry=lambda **x: changelist(latestonly=True), | |
316 | archives=web.archivelist("tip"), revcount=revcount, |
|
316 | archives=web.archivelist("tip"), revcount=revcount, | |
317 | morevars=morevars, lessvars=lessvars, query=query) |
|
317 | morevars=morevars, lessvars=lessvars, query=query) | |
318 |
|
318 |
General Comments 0
You need to be logged in to leave comments.
Login now