contrib/shrink-revlog.py
changeset 10655 f63fb5c0cf67
parent 10627 adcd5bcb37ab
child 10724 cb0a7faa29ea
--- a/contrib/shrink-revlog.py	Thu Mar 11 19:09:35 2010 +0100
+++ b/contrib/shrink-revlog.py	Thu Mar 11 23:44:12 2010 +0100
@@ -235,7 +235,7 @@
             for i in xrange(1, len(order)):
                 parents = [p for p in r1.parentrevs(order[i])
                            if p != node.nullrev]
-                if parents and order[i-1] not in parents:
+                if parents and order[i - 1] not in parents:
                     suboptimal += 1
             ui.note(_('%d suboptimal nodes\n') % suboptimal)