Patchwork D1425: logtoprocess: clean-up old comment

login
register
mail settings
Submitter phabricator
Date Nov. 15, 2017, 3:44 p.m.
Message ID <differential-rev-PHID-DREV-pe22vfs5wjdlsli46zz2-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/25584/
State Superseded
Headers show

Comments

phabricator - Nov. 15, 2017, 3:44 p.m.
lothiraldan created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The comment was likely to be for runshellcommand code.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1425

AFFECTED FILES
  hgext/logtoprocess.py

CHANGE DETAILS




To: lothiraldan, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/logtoprocess.py b/hgext/logtoprocess.py
--- a/hgext/logtoprocess.py
+++ b/hgext/logtoprocess.py
@@ -124,8 +124,6 @@ 
                 env = dict(itertools.chain(encoding.environ.items(),
                                            msgpairs, optpairs),
                            EVENT=event, HGPID=str(os.getpid()))
-                # Connect stdin to /dev/null to prevent child processes messing
-                # with mercurial's stdin.
                 runshellcommand(script, env)
             return super(logtoprocessui, self).log(event, *msg, **opts)