changeset 8210 | 344751cd8cb8 |
parent 8209 | a1a5a57efe90 |
child 8225 | 46293a0c7e9f |
--- a/mercurial/cmdutil.py Sun Apr 26 16:50:44 2009 -0500 +++ b/mercurial/cmdutil.py Sun Apr 26 16:50:44 2009 -0500 @@ -1052,8 +1052,7 @@ n = filelog.node(j) revs.append((filelog.linkrev(j), follow and filelog.renamed(n))) - revs.reverse() - for rev in revs: + for rev in reversed(revs): # only yield rev for which we have the changelog, it can # happen while doing "hg log" during a pull or commit if rev[0] < cl_count: