fix bundlerepo broken by 4205f626dc05
since we now use struct in case of lazy parser, this have to be an integer
instead of None
see issue681
--- a/mercurial/bundlerepo.py Tue Aug 14 16:30:38 2007 +0200
+++ b/mercurial/bundlerepo.py Tue Aug 14 18:25:27 2007 +0200
@@ -56,8 +56,8 @@
if not prev:
prev = p1
- # start, size, base is not used, link, p1, p2, delta ref
- e = (revlog.offset_type(start, 0), size, -1, None, link,
+ # start, size, full unc. size, base (unused), link, p1, p2, node
+ e = (revlog.offset_type(start, 0), size, -1, -1, link,
self.rev(p1), self.rev(p2), node)
self.basemap[n] = prev
self.index.insert(-1, e)