diff -r a8a0cafcef79 -r 49d6ba67c93f mercurial/util.py --- a/mercurial/util.py Sat Mar 24 22:10:58 2018 -0400 +++ b/mercurial/util.py Sat Mar 24 17:04:43 2018 +0900 @@ -114,7 +114,7 @@ findexe = platform.findexe getfsmountpoint = platform.getfsmountpoint getfstype = platform.getfstype -gethgcmd = platform.gethgcmd +_gethgcmd = platform.gethgcmd getuser = platform.getuser getpid = os.getpid groupmembers = platform.groupmembers @@ -2728,7 +2728,7 @@ return [encoding.environ['EXECUTABLEPATH']] else: return [pycompat.sysexecutable] - return gethgcmd() + return _gethgcmd() def rundetached(args, condfn): """Execute the argument list in a detached process.