##// END OF EJS Templates
[PATCH] manifest.readflags performance buglet...
mpm@selenic.com -
r358:9f4077d7 default
parent child Browse files
Show More
@@ -113,7 +113,7 b' class manifest(revlog):'
113
113
114 def readflags(self, node):
114 def readflags(self, node):
115 if node == nullid: return {} # don't upset local cache
115 if node == nullid: return {} # don't upset local cache
116 if self.mapcache or self.mapcache[0] != node:
116 if not self.mapcache or self.mapcache[0] != node:
117 self.read(node)
117 self.read(node)
118 return self.mapcache[2]
118 return self.mapcache[2]
119
119
General Comments 0
You need to be logged in to leave comments. Login now