Recieving HTTP 502 Bad Gateway Error with Changegroup hook

Matt Mackall mpm at selenic.com
Tue Jul 16 11:48:19 CDT 2013


On Mon, 2013-07-15 at 22:27 +0000, Mcadams, Philip W wrote:
> Our team is trying to enable automated builds using the changegroup hook.  The current hook we have place appears to work: once a commit is made the automated build triggers and our push goes through.  The problem is that our users receive an HTTP 502 Bad Gateway Error once the commit is made.  Our developers are actively using the hook and for now are just ignoring the error.  Can you review the formatting of our hook to see where the issue possibly lies:
> 
> [hooks]
> changegroup.update = python:D:\Common\postCommitBuildTrigger.py:add_changesets

If your hook generates any output (or even looks at the standard IO file
objects), the WSGI layer is likely to complain.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list