Mercurial > hg
changeset 126:f6d1f8a84372
Remove some debugging code from lazyparser
author | mpm@selenic.com |
---|---|
date | Fri, 20 May 2005 17:50:11 -0800 |
parents | 8913e13196e1 |
children | 44538462d3c8 |
files | mercurial/revlog.py |
diffstat | 1 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revlog.py Fri May 20 17:49:25 2005 -0800 +++ b/mercurial/revlog.py Fri May 20 17:50:11 2005 -0800 @@ -50,17 +50,6 @@ self.index = [None] * self.l self.map = {nullid: -1} - if 0: - n = 0 - i = self.data - s = struct.calcsize(indexformat) - for f in xrange(0, len(i), s): - # offset, size, base, linkrev, p1, p2, nodeid - e = struct.unpack(indexformat, i[f:f + s]) - self.map[e[6]] = n - self.index.append(e) - n += 1 - def load(self, pos): block = pos / 1000 i = block * 1000