mercurial/util.py
changeset 37115 49d6ba67c93f
parent 37099 6ca5f825a0ca
child 37116 7ccc9b8aca4c
--- 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.