mercurial/extensions.py
changeset 47625 7bafe40ab78a
parent 47055 553451522113
child 48015 a9bedc56f025
--- a/mercurial/extensions.py	Sat Jul 10 14:05:49 2021 +0200
+++ b/mercurial/extensions.py	Sat Jul 10 14:05:59 2021 +0200
@@ -713,7 +713,7 @@
     # it might not be on a filesystem even if it does.
     if util.safehasattr(hgext, '__file__'):
         extpath = os.path.dirname(
-            os.path.abspath(pycompat.fsencode(hgext.__file__))
+            util.abspath(pycompat.fsencode(hgext.__file__))
         )
         try:
             files = os.listdir(extpath)