##// END OF EJS Templates
manifest: remove check for non-contexts in _dirmancache...
Martin von Zweigbergk -
r32171:fb9b6bfb default
parent child Browse files
Show More
@@ -1340,12 +1340,7 b' class manifestlog(object):'
1340 the revlog
1340 the revlog
1341 """
1341 """
1342 if node in self._dirmancache.get(dir, ()):
1342 if node in self._dirmancache.get(dir, ()):
1343 cachemf = self._dirmancache[dir][node]
1343 return self._dirmancache[dir][node]
1344 # The old manifest may put non-ctx manifests in the cache, so
1345 # skip those since they don't implement the full api.
1346 if (isinstance(cachemf, manifestctx) or
1347 isinstance(cachemf, treemanifestctx)):
1348 return cachemf
1349
1344
1350 if dir:
1345 if dir:
1351 if self._revlog._treeondisk:
1346 if self._revlog._treeondisk:
General Comments 0
You need to be logged in to leave comments. Login now