[issue568] Use of hook causes content-type returned from hgweb to change

Chris Eppstein mercurial-bugs at selenic.com
Tue May 22 01:18:21 CDT 2007


New submission from Chris Eppstein <chris at eppsteins.net>:

I host my repository on https for both push and pull.
I have a hook to notify buildbot:
changegroup.buildbot = /usr/local/share/build/hg_buildbot.py
repo.dev.company.com:9989

when I have this hook enabled I get the following error when pushing to the
repository:
abort: 'https://repo.dev.company.com/' does not appear to be an hg repository.

With a little digging it appear this is because the content type returned is
text/html instead of one of the expected types. The commit succeeds but it makes
the users think it hasn't.

----------
messages: 3107
nosy: crispy
priority: urgent
status: unread
title: Use of hook causes content-type returned from hgweb to change

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue568>
____________________________________________________



More information about the Mercurial-devel mailing list