diff mercurial/posix.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 a0ec05d93c8e
children 755214a84b9d
line wrap: on
line diff
--- a/mercurial/posix.py	Fri May 29 03:43:08 2020 +0200
+++ b/mercurial/posix.py	Fri May 29 03:56:07 2020 +0200
@@ -538,10 +538,6 @@
     return pycompat.shlexsplit(s, posix=True)
 
 
-def quotecommand(cmd):
-    return cmd
-
-
 def testpid(pid):
     '''return False if pid dead, True if running or not sure'''
     if pycompat.sysplatform == b'OpenVMS':