changeset 1023:bc806ba72959

Minor tweak to the revgen algorithm
author mpm@selenic.com
date Wed, 24 Aug 2005 03:33:54 -0700
parents 31dcaf9123ba
children bcb44382b0d0
files mercurial/hgweb.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Wed Aug 24 03:32:08 2005 -0700
+++ b/mercurial/hgweb.py	Wed Aug 24 03:33:54 2005 -0700
@@ -313,7 +313,8 @@
                     for j in range(max(0, i - 100), i):
                         n = cl.node(j)
                         changes = cl.read(n)
-                        l.insert(0, (n, j, changes))
+                        l.append((n, j, changes))
+                    l.reverse()
                     for e in l:
                         yield e