##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51481:0ec94359 default
parent child Browse files
Show More
@@ -1619,7 +1619,7 b' class manifestrevlog:'
1619
1619
1620 def _setupmanifestcachehooks(self, repo):
1620 def _setupmanifestcachehooks(self, repo):
1621 """Persist the manifestfulltextcache on lock release"""
1621 """Persist the manifestfulltextcache on lock release"""
1622 if not util.safehasattr(repo, b'_wlockref'):
1622 if not util.safehasattr(repo, '_wlockref'):
1623 return
1623 return
1624
1624
1625 self._fulltextcache._opener = repo.wcachevfs
1625 self._fulltextcache._opener = repo.wcachevfs
General Comments 0
You need to be logged in to leave comments. Login now