--- a/mercurial/pure/parsers.py Fri Jul 29 20:26:52 2011 +0200
+++ b/mercurial/pure/parsers.py Sun Jul 31 22:12:13 2011 +0200
@@ -36,7 +36,7 @@
s = struct.calcsize(indexformatng)
index = []
cache = None
- n = off = 0
+ off = 0
l = len(data) - s
append = index.append
@@ -45,7 +45,6 @@
while off <= l:
e = _unpack(indexformatng, data[off:off + s])
append(e)
- n += 1
if e[1] < 0:
break
off += e[1] + s
@@ -53,7 +52,6 @@
while off <= l:
e = _unpack(indexformatng, data[off:off + s])
append(e)
- n += 1
off += s
if off != len(data):