hgext/largefiles/storefactory.py
changeset 46908 4452cb788404
parent 46907 ffd3e823a7e5
child 46947 3f29765e0d95
--- a/hgext/largefiles/storefactory.py	Mon Apr 12 03:01:04 2021 +0200
+++ b/hgext/largefiles/storefactory.py	Mon Apr 12 06:34:54 2021 +0200
@@ -43,12 +43,12 @@
         # meaning the current directory.
         if repo is None:
             path = ui.expandpath(b'default')
-            path, _branches = hg.parseurl(path)
+            path, _branches = urlutil.parseurl(path)
             remote = hg.peer(repo or ui, {}, path)
         elif path == b'default-push' or path == b'default':
             remote = repo
         else:
-            path, _branches = hg.parseurl(path)
+            path, _branches = urlutil.parseurl(path)
             remote = hg.peer(repo or ui, {}, path)
 
     # The path could be a scheme so use Mercurial's normal functionality