# HG changeset patch # User mpm@selenic.com # Date 1124879634 25200 # Node ID bc806ba729593c7f33ec513e577a5b518cf90c0f # Parent 31dcaf9123ba583094d6700b12484525974b96be Minor tweak to the revgen algorithm diff -r 31dcaf9123ba -r bc806ba72959 mercurial/hgweb.py --- 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