[issue2253] [PATCH] Capture hook stdout/stderr for http transactions

mkhitrov bugs at mercurial.selenic.com
Fri Jun 25 17:14:39 UTC 2010


New submission from mkhitrov <mkhitrov at gmail.com>:

I made a very simple patch that allows Mercurial to capture stdout and
stderr for external hooks when they are triggered as part of an HTTP
transaction. Right now the output is lost or simply written out to Apache
logs if Mercurial is running under WSGI.

I only ran some basic testing, so perhaps someone more familiar with
Mercurial internals could take a look and decide if this change would cause
any problems.

----------
files: hg-hook-output.patch
messages: 12902
nosy: mkhitrov
priority: feature
status: unread
title: [PATCH] Capture hook stdout/stderr for http transactions
topic: hg, patch

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2253>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg-hook-output.patch
Type: application/octet-stream
Size: 1542 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100625/a428d3d7/attachment.obj>


More information about the Mercurial-devel mailing list