Submitter | phabricator |
---|---|
Date | Jan. 24, 2020, 4:06 p.m. |
Message ID | <7d325391e94d799cbadc631e630a2aa8@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/44608/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/utils/resourceutil.py b/mercurial/utils/resourceutil.py --- a/mercurial/utils/resourceutil.py +++ b/mercurial/utils/resourceutil.py @@ -33,6 +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) else: datapath = os.path.dirname(os.path.dirname(pycompat.fsencode(__file__))) _rootpath = os.path.dirname(datapath)