mercurial/localrepo.py
changeset 46907 ffd3e823a7e5
parent 46902 631001150e13
child 47012 d55b71393907
child 47183 8be95673eb8a
--- a/mercurial/localrepo.py	Sun Apr 11 23:54:35 2021 +0200
+++ b/mercurial/localrepo.py	Mon Apr 12 03:01:04 2021 +0200
@@ -85,6 +85,7 @@
     hashutil,
     procutil,
     stringutil,
+    urlutil,
 )
 
 from .revlogutils import (
@@ -3404,7 +3405,7 @@
 
 
 def instance(ui, path, create, intents=None, createopts=None):
-    localpath = util.urllocalpath(path)
+    localpath = urlutil.urllocalpath(path)
     if create:
         createrepository(ui, localpath, createopts=createopts)