changeset 3579:0ed2732aa393

Explicitly use REVLOGV0 instead of 0 in bundlerepo.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 29 Oct 2006 10:55:38 +0100
parents 3b4e00cba57a
children 41989e55fa37
files mercurial/bundlerepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,