##// END OF EJS Templates
manifestcache: skip setup earlier if we don't have the lock...
marmoute -
r42127:c3522b01 default
parent child Browse files
Show More
@@ -1437,6 +1437,9 b' class manifestrevlog(object):'
1437 1437 return
1438 1438
1439 1439 self._fulltextcache._opener = repo.cachevfs
1440 if repo._currentlock(repo._lockref) is None:
1441 return
1442
1440 1443 reporef = weakref.ref(repo)
1441 1444 manifestrevlogref = weakref.ref(self)
1442 1445
@@ -1450,8 +1453,7 b' class manifestrevlog(object):'
1450 1453 return
1451 1454 self._fulltextcache.write()
1452 1455
1453 if repo._currentlock(repo._lockref) is not None:
1454 repo._afterlock(persistmanifestcache)
1456 repo._afterlock(persistmanifestcache)
1455 1457
1456 1458 @property
1457 1459 def fulltextcache(self):
General Comments 0
You need to be logged in to leave comments. Login now