hgext/git/__init__.py
changeset 47631 16bae8abcc03
parent 46607 e9901d01d135
child 48539 b9d5ad7146a3
--- a/hgext/git/__init__.py	Sat Jul 10 14:06:46 2021 +0200
+++ b/hgext/git/__init__.py	Sat Jul 10 14:07:02 2021 +0200
@@ -284,7 +284,7 @@
 
 def init(orig, ui, dest=b'.', **opts):
     if opts.get('git', False):
-        path = os.path.abspath(dest)
+        path = util.abspath(dest)
         # TODO: walk up looking for the git repo
         _setupdothg(ui, path)
         return 0