Message4924

Author jglick
Recipients
Date 2008-01-19.18:14:07
Content
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).
History
Date User Action Args
2008-01-19 18:14:07jglicksetmessageid: <1200766447.8.0.952016471394.issue937@selenic.com>
2008-01-19 18:14:07jglicklinkissue937 messages
2008-01-19 18:14:07jglickcreate