--- 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