shrink-revlog: add missing whitespace in expression
authorMartin Geisler <mg@lazybytes.net>
Thu, 11 Mar 2010 23:44:12 +0100
changeset 10655 f63fb5c0cf67
parent 10654 153dd9139b0e
child 10657 909a99b92f67
shrink-revlog: add missing whitespace in expression
contrib/shrink-revlog.py
--- 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)