Submitter | Mads Kiilerich |
---|---|
Date | Sept. 28, 2014, 3:02 p.m. |
Message ID | <d064d89884c6ad9039d0.1411916578@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/6006/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -450,8 +450,6 @@ def pathto(root, n1, n2): b.reverse() return os.sep.join((['..'] * len(a)) + b) or '.' -_hgexecutable = None - def mainfrozen(): """return True if we are a frozen executable. @@ -462,6 +460,8 @@ def mainfrozen(): safehasattr(sys, "importers") or # old py2exe imp.is_frozen("__main__")) # tools/freeze +_hgexecutable = None + def hgexecutable(): """return location of the 'hg' executable.