# HG changeset patch # User Idan Kamara # Date 1317065865 -10800 # Node ID 77ae99e032f61263ba10d84c4725f2b3e06a289f # Parent 15485fa4b35e4fcad4ca4b63ddaa0649e3006003 util, popen: redirect stderr as well (for hglib.init in case of error) diff -r 15485fa4b35e -r 77ae99e032f6 hglib/util.py --- a/hglib/util.py Mon Sep 26 22:37:44 2011 +0300 +++ b/hglib/util.py Mon Sep 26 22:37:45 2011 +0300 @@ -140,4 +140,5 @@ environ.update(env) return subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, - close_fds=close_fds, env=environ) + stderr=subprocess.PIPE, close_fds=close_fds, + env=environ)