mercurial/utils/resourceutil.py
branchstable
changeset 44208 9e367157a990
parent 44152 a90039b07343
child 44219 aab70b540d3d
--- a/mercurial/utils/resourceutil.py	Fri Jan 24 20:27:59 2020 -0800
+++ b/mercurial/utils/resourceutil.py	Thu Jan 30 23:48:45 2020 -0500
@@ -33,7 +33,7 @@
 if mainfrozen() and getattr(sys, 'frozen', None) != 'macosx_app':
     # executable version (py2exe) doesn't support __file__
     datapath = os.path.dirname(pycompat.sysexecutable)
-    _rootpath = os.path.dirname(datapath)
+    _rootpath = datapath
 else:
     datapath = os.path.dirname(os.path.dirname(pycompat.fsencode(__file__)))
     _rootpath = os.path.dirname(datapath)