# HG changeset patch # User Gregory Szorc # Date 1551559915 28800 # Node ID b275dbb60089edef01a61d52adb3f7e75a68480a # Parent ae189674bdadd71856d3262282dc40db6ae16c84 procutil: use a raw string for module name Otherwise Python 2 will coerce unicode to str. Differential Revision: https://phab.mercurial-scm.org/D6047 diff -r ae189674bdad -r b275dbb60089 mercurial/utils/procutil.py --- a/mercurial/utils/procutil.py Sat Mar 02 12:51:04 2019 -0800 +++ b/mercurial/utils/procutil.py Sat Mar 02 12:51:55 2019 -0800 @@ -221,7 +221,7 @@ """ return (pycompat.safehasattr(sys, "frozen") or # new py2exe pycompat.safehasattr(sys, "importers") or # old py2exe - imp.is_frozen(u"__main__")) # tools/freeze + imp.is_frozen(r"__main__")) # tools/freeze _hgexecutable = None