diff --git a/mercurial/unionrepo.py b/mercurial/unionrepo.py --- a/mercurial/unionrepo.py +++ b/mercurial/unionrepo.py @@ -71,11 +71,11 @@ p1node = self.revlog2.node(p1rev) p2node = self.revlog2.node(p2rev) - # TODO: it's probably wrong to set compressed length to None, but + # TODO: it's probably wrong to set compressed length to -1, but # I have no idea if csize is valid in the base revlog context. e = ( flags, - None, + -1, rsize, base, link,