##// 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 return
1437 return
1438
1438
1439 self._fulltextcache._opener = repo.cachevfs
1439 self._fulltextcache._opener = repo.cachevfs
1440 if repo._currentlock(repo._lockref) is None:
1441 return
1442
1440 reporef = weakref.ref(repo)
1443 reporef = weakref.ref(repo)
1441 manifestrevlogref = weakref.ref(self)
1444 manifestrevlogref = weakref.ref(self)
1442
1445
@@ -1450,7 +1453,6 b' class manifestrevlog(object):'
1450 return
1453 return
1451 self._fulltextcache.write()
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 @property
1458 @property
General Comments 0
You need to be logged in to leave comments. Login now