diff mercurial/windows.py @ 44867:8e8fd938ca07

cleanup: eliminate procutil.quotecommand() After some compatibility code was removed, the function was the identity function on all platforms.
author Manuel Jacob <me@manueljacob.de>
date Fri, 29 May 2020 03:56:07 +0200
parents 5258bffdb1d6
children aea246bc04bd
line wrap: on
line diff
--- a/mercurial/windows.py	Fri May 29 03:43:08 2020 +0200
+++ b/mercurial/windows.py	Fri May 29 03:56:07 2020 +0200
@@ -474,11 +474,6 @@
     return pycompat.maplist(_unquote, pycompat.shlexsplit(s, posix=False))
 
 
-def quotecommand(cmd):
-    """Build a command string suitable for os.popen* calls."""
-    return cmd
-
-
 # if you change this stub into a real check, please try to implement the
 # username and groupname functions above, too.
 def isowner(st):