mercurial/manifest.py
changeset 50928 d718eddf01d9
parent 50637 32837c7e2e4b
child 50929 18c8c18993f0
--- a/mercurial/manifest.py	Thu Dec 08 15:33:19 2022 +0100
+++ b/mercurial/manifest.py	Thu Aug 31 23:56:15 2023 +0200
@@ -1628,7 +1628,7 @@
 
     def _setupmanifestcachehooks(self, repo):
         """Persist the manifestfulltextcache on lock release"""
-        if not util.safehasattr(repo, '_wlockref'):
+        if not hasattr(repo, '_wlockref'):
             return
 
         self._fulltextcache._opener = repo.wcachevfs