hgext/githelp.py
changeset 37120 a8a902d7176e
parent 36230 257f3651ada9
child 37388 764ada920db5
--- a/hgext/githelp.py	Sat Mar 24 15:09:33 2018 +0900
+++ b/hgext/githelp.py	Sat Mar 24 15:10:51 2018 +0900
@@ -26,7 +26,9 @@
     error,
     fancyopts,
     registrar,
-    util,
+)
+from mercurial.utils import (
+    procutil,
 )
 
 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
@@ -625,7 +627,7 @@
         cmd['-0'] = None
     cmd.append('.')
     for include in args:
-        cmd['-I'] = util.shellquote(include)
+        cmd['-I'] = procutil.shellquote(include)
 
     ui.status((bytes(cmd)), "\n")