mercurial/hgweb/webcommands.py
branchstable
changeset 19499 81318ca090a2
parent 19491 e111d5e6bbbd
child 19533 9a020b354d93
child 19879 5cbf413ce658
equal deleted inserted replaced
19498:3ac1735a2265 19499:81318ca090a2
   202     def changelist(latestonly, **map):
   202     def changelist(latestonly, **map):
   203         revs = []
   203         revs = []
   204         if pos != -1:
   204         if pos != -1:
   205             revs = web.repo.changelog.revs(pos, 0)
   205             revs = web.repo.changelog.revs(pos, 0)
   206         if latestonly:
   206         if latestonly:
   207             revs = (next(revs),)
   207             revs = (revs.next(),)
   208         curcount = 0
   208         curcount = 0
   209         for i in revs:
   209         for i in revs:
   210             ctx = web.repo[i]
   210             ctx = web.repo[i]
   211             n = ctx.node()
   211             n = ctx.node()
   212             showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n)
   212             showtags = webutil.showtag(web.repo, tmpl, 'changelogtag', n)