mercurial/util.py
changeset 19729 dfefb719eb92
parent 19710 887ffa22fd0d
child 19852 57479e0d203d
--- a/mercurial/util.py	Fri Sep 06 23:47:59 2013 -0700
+++ b/mercurial/util.py	Fri Sep 13 15:40:04 2013 -0500
@@ -469,7 +469,8 @@
         return str(val)
     origcmd = cmd
     cmd = quotecommand(cmd)
-    if sys.platform == 'plan9':
+    if sys.platform == 'plan9' and (sys.version_info[0] == 2
+                                    and sys.version_info[1] < 7):
         # subprocess kludge to work around issues in half-baked Python
         # ports, notably bichued/python:
         if not cwd is None: