pretxnchangegroup hook fails because it can't acquire lock
Mick Jordan
mick.jordan at oracle.com
Tue Nov 5 13:50:32 CST 2013
On 11/5/13 3:41 AM, Simon King wrote:
> [hooks] pretxnchangegroup.push =
> python:/path/to/hook/script.py:pushwhilelocked
> Hope that helps, Simon
I have this working now, just one small problem that someone might know
the answer to, which is that the hgweb script is evidently returning a
bad header. It's nice that all the python logging shows up now in the
server error_log Here are the salient lines:
[Tue Nov 05 11:31:25 2013] [error] [client ...] abort:
pretxnchangegroup.run_gate hook failed
[Tue Nov 05 11:31:25 2013] [error] [client ...] malformed header from
script. Bad header=listing keys for "bookmarks": hgweb.cgi
More information about the Mercurial
mailing list