diff -r 09375250eb31 -r e75ea4662d81 mercurial/hg.py --- a/mercurial/hg.py Sun Jun 12 08:11:43 2005 -0800 +++ b/mercurial/hg.py Sun Jun 12 08:23:29 2005 -0800 @@ -97,6 +97,7 @@ revlog.__init__(self, opener, "00manifest.i", "00manifest.d") def read(self, node): + if node == nullid: return {} # don't upset local cache if self.mapcache and self.mapcache[0] == node: return self.mapcache[1].copy() text = self.revision(node) @@ -111,6 +112,7 @@ return map def readflags(self, node): + if node == nullid: return {} # don't upset local cache if self.mapcache or self.mapcache[0] != node: self.read(node) return self.mapcache[2]