If a repository on a server has configured some pretxnchangegroup hook which
displays an error message when it fails (e.g. hgext.win32text.forbidcrlf), and
this repository is accessed over HTTPS from a client (via hgwebdir.cgi), the
client hg program does not display the failure message when the push is
rejected. It only gives the name of the failed hook.
This is a usability problem; the developer attempting to push might not have
been made aware of the details of what pre-push hooks are installed and may be
surprised by the rejection and not know how to correct it. For example,
hgext.win32text.forbidcrlf when run as a pre-push hook prints a rather detailed
message about what is wrong and how it could be prevented in your local
repository in the future, but all this is lost when serving over HTTP(S). |