diff -r 8bfe44494a0d -r e4b777fe1576 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Fri Jun 03 12:32:42 2016 +0200 +++ b/mercurial/hgweb/webcommands.py Mon Jun 06 15:14:11 2016 +0200 @@ -707,8 +707,8 @@ parity=next(parity), **webutil.commonentry(web.repo, ctx))) - l.reverse() - yield l + for entry in reversed(l): + yield entry tip = web.repo['tip'] count = len(web.repo)