changeset 10655:f63fb5c0cf67

shrink-revlog: add missing whitespace in expression
author Martin Geisler <mg@lazybytes.net>
date Thu, 11 Mar 2010 23:44:12 +0100
parents 153dd9139b0e
children 909a99b92f67
files contrib/shrink-revlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)