mercurial/hook.py
changeset 38722 2009d84f245a
parent 38629 38dfd308fe9d
child 38723 f9b2d996ffa5
--- a/mercurial/hook.py	Mon Jul 16 17:47:58 2018 -0700
+++ b/mercurial/hook.py	Sun Jul 15 23:46:09 2018 -0400
@@ -139,7 +139,7 @@
             v = stringutil.pprint(v)
         env['HG_' + k.upper()] = v
 
-    if ui.configbool('hooks', 'tonative.%s' % name, pycompat.iswindows):
+    if ui.configbool('hooks', 'tonative.%s' % name, False):
         ui.note(_('converting hook "%s" to native\n') % name)
         cmd = procutil.shelltonative(cmd, env)