hgext/convert/git.py
changeset 47633 770fd64a63e0
parent 47128 bea4717415c0
child 48875 6000f5b25c9b
--- a/hgext/convert/git.py	Sat Jul 10 14:07:14 2021 +0200
+++ b/hgext/convert/git.py	Sat Jul 10 14:07:25 2021 +0200
@@ -14,6 +14,7 @@
     config,
     error,
     pycompat,
+    util,
 )
 
 from . import common
@@ -74,7 +75,7 @@
 
         # Pass an absolute path to git to prevent from ever being interpreted
         # as a URL
-        path = os.path.abspath(path)
+        path = util.abspath(path)
 
         if os.path.isdir(path + b"/.git"):
             path += b"/.git"