hgext/largefiles/storefactory.py
changeset 50928 d718eddf01d9
parent 50891 1b265336c42b
child 50929 18c8c18993f0
--- a/hgext/largefiles/storefactory.py	Thu Dec 08 15:33:19 2022 +0100
+++ b/hgext/largefiles/storefactory.py	Thu Aug 31 23:56:15 2023 +0200
@@ -57,7 +57,7 @@
 
     # The path could be a scheme so use Mercurial's normal functionality
     # to resolve the scheme to a repository and use its path
-    path = util.safehasattr(remote, 'url') and remote.url() or remote.path
+    path = hasattr(remote, 'url') and remote.url() or remote.path
 
     match = _scheme_re.match(path)
     if not match:  # regular filesystem path