# HG changeset patch # User Brendan Cully # Date 1182203551 25200 # Node ID eaf87cd193373cef5c3d8b2989c015f93bfdd469 # Parent 23d9f0e667114d50e8a71645149b00f85771c3f7 Work around heisenbug in Popen3.__del__ diff -r 23d9f0e66711 -r eaf87cd19337 mercurial/util.py --- a/mercurial/util.py Mon Jun 18 12:39:43 2007 -0700 +++ b/mercurial/util.py Mon Jun 18 14:52:31 2007 -0700 @@ -161,7 +161,7 @@ def pipefilter(s, cmd): '''filter string S through command CMD, returning its output''' - (pout, pin) = popen2.popen2(cmd, -1, 'b') + (pin, pout) = os.popen2(cmd, 'b') def writer(): try: pin.write(s)