hgext/remotefilelog/shallowrepo.py
changeset 50928 d718eddf01d9
parent 48913 f254fc73d956
--- a/hgext/remotefilelog/shallowrepo.py	Thu Dec 08 15:33:19 2022 +0100
+++ b/hgext/remotefilelog/shallowrepo.py	Thu Aug 31 23:56:15 2023 +0200
@@ -340,7 +340,7 @@
     repo.excludepattern = repo.ui.configlist(
         b"remotefilelog", b"excludepattern", None
     )
-    if not util.safehasattr(repo, 'connectionpool'):
+    if not hasattr(repo, 'connectionpool'):
         repo.connectionpool = connectionpool.connectionpool(repo)
 
     if repo.includepattern or repo.excludepattern: