Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Sat, 19 Jan 2013 09:40:50 +0000
changeset 1205 531804688bf5
parent 1202 e475cc6eff08 (current diff)
parent 1204 469ccfe7aa92 (diff)
child 1207 c762ba67e444
Merge with stable
--- a/tests/run-tests.py	Wed Jan 16 20:56:02 2013 +0000
+++ b/tests/run-tests.py	Sat Jan 19 09:40:50 2013 +0000
@@ -751,8 +751,7 @@
     Return a tuple (exitcode, output).  output is None in debug mode."""
     # TODO: Use subprocess.Popen if we're running on Python 2.4
     if options.debug:
-        proc = subprocess.Popen(cmd, shell=True, cwd=wd, stdin=subprocess.PIPE)
-        proc.stdin.close()
+        proc = subprocess.Popen(cmd, shell=True, cwd=wd)
         ret = proc.wait()
         return (ret, None)
 
@@ -875,6 +874,7 @@
     hgrc = open(HGRCPATH, 'w+')
     hgrc.write('[ui]\n')
     hgrc.write('slash = True\n')
+    hgrc.write('interactive = False\n')
     hgrc.write('[defaults]\n')
     hgrc.write('backout = -d "0 0"\n')
     hgrc.write('commit = -d "0 0"\n')