author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
Sun, 16 Jan 2011 12:25:46 +0100 | |
changeset 13268 | fff12b3d953a |
parent 13267 | a483b3183ee8 |
child 13269 | aa3f726a2bdb |
--- a/mercurial/revlog.py Sun Jan 16 12:24:48 2011 +0100 +++ b/mercurial/revlog.py Sun Jan 16 12:25:46 2011 +0100 @@ -272,9 +272,9 @@ d = self._io.parseindex(i, self._inline) except (ValueError, IndexError): raise RevlogError(_("index %s is corrupted") % (self.indexfile)) - self.index, n, self._chunkcache = d - if n: - self.nodemap = n + self.index, nodemap, self._chunkcache = d + if nodemap is not None: + self.nodemap = nodemap self.rev = self._revmap if not self._chunkcache: self._chunkclear()