# HG changeset patch # User mpm@selenic.com # Date 2005-08-24 10:33:54 # Node ID bc806ba729593c7f33ec513e577a5b518cf90c0f # Parent 31dcaf9123ba583094d6700b12484525974b96be Minor tweak to the revgen algorithm diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -313,7 +313,8 @@ class hgweb: 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