branch | stable |
changeset 19499 | 81318ca090a2 |
parent 19491 | e111d5e6bbbd |
child 19533 | 9a020b354d93 |
child 19879 | 5cbf413ce658 |
--- a/mercurial/hgweb/webcommands.py Thu Jul 25 02:44:27 2013 -0500 +++ b/mercurial/hgweb/webcommands.py Thu Jul 25 15:27:41 2013 +0400 @@ -204,7 +204,7 @@ if pos != -1: revs = web.repo.changelog.revs(pos, 0) if latestonly: - revs = (next(revs),) + revs = (revs.next(),) curcount = 0 for i in revs: ctx = web.repo[i]