Explicitly use REVLOGV0 instead of 0 in bundlerepo.
authorThomas Arendsen Hein <thomas@intevation.de>
Sun, 29 Oct 2006 10:55:38 +0100
changeset 3579 0ed2732aa393
parent 3578 3b4e00cba57a
child 3580 41989e55fa37
Explicitly use REVLOGV0 instead of 0 in bundlerepo.
mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py	Sun Oct 29 10:53:51 2006 +0100
+++ b/mercurial/bundlerepo.py	Sun Oct 29 10:55:38 2006 +0100
@@ -59,7 +59,7 @@
             if not prev:
                 prev = p1
             # start, size, base is not used, link, p1, p2, delta ref
-            if self.version == 0:
+            if self.version == revlog.REVLOGV0:
                 e = (start, size, None, link, p1, p2, node)
             else:
                 e = (self.offset_type(start, 0), size, -1, None, link,