Mercurial > hg-stable
diff contrib/shrink-revlog.py @ 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 | adcd5bcb37ab |
children | cb0a7faa29ea |
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)