##// END OF EJS Templates
treemanifests: make _loadlazy tolerate item not on _lazydirs...
spectral -
r40017:da0319e0 default
parent child Browse files
Show More
@@ -706,9 +706,11 b' class treemanifest(object):'
706 706 self._lazydirs = {}
707 707
708 708 def _loadlazy(self, d):
709 path, node, readsubtree = self._lazydirs[d]
710 self._dirs[d] = readsubtree(path, node)
711 del self._lazydirs[d]
709 v = self._lazydirs.get(d)
710 if v:
711 path, node, readsubtree = v
712 self._dirs[d] = readsubtree(path, node)
713 del self._lazydirs[d]
712 714
713 715 def _loadchildrensetlazy(self, visit):
714 716 if not visit:
General Comments 0
You need to be logged in to leave comments. Login now