##// END OF EJS Templates
branchcache: lazily validate nodes in iteritems()...
Pulkit Goyal -
r42303:f0203c34 default
parent child Browse files
Show More
@@ -219,8 +219,9 b' class branchcache(object):'
219 return key in self._entries
219 return key in self._entries
220
220
221 def iteritems(self):
221 def iteritems(self):
222 self._verifyall()
222 for k, v in self._entries.iteritems():
223 return self._entries.iteritems()
223 self._verifybranch(k)
224 yield k, v
224
225
225 def hasbranch(self, label):
226 def hasbranch(self, label):
226 """ checks whether a branch of this name exists or not """
227 """ checks whether a branch of this name exists or not """
General Comments 0
You need to be logged in to leave comments. Login now