mercurial/hgweb/webcommands.py
changeset 29382 e4b777fe1576
parent 29325 4f2f8baba2ff
child 29388 f694e20193f2
--- 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)