mercurial/windows.py
changeset 37459 90c5ca718781
parent 37095 e24802ea8dbd
child 37460 a6c6b7beb025
--- a/mercurial/windows.py	Sat Apr 07 20:50:38 2018 +0900
+++ b/mercurial/windows.py	Sat Apr 07 21:09:21 2018 +0900
@@ -311,13 +311,6 @@
         return '"' + cmd + '"'
     return cmd
 
-def popen(command, mode='r'):
-    # Work around "popen spawned process may not write to stdout
-    # under windows"
-    # http://bugs.python.org/issue1366
-    command += " 2> %s" % pycompat.bytestr(os.devnull)
-    return os.popen(quotecommand(command), mode)
-
 def explainexit(code):
     return _("exited with status %d") % code, code