fix bundlerepo broken by 4205f626dc05
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 14 Aug 2007 18:25:27 +0200
changeset 5167 aba624d2301d
parent 5166 b1e147f60d62
child 5168 8114142092a8
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
mercurial/bundlerepo.py
--- 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)