push over http in crew
Vadim Gelfer
vadim.gelfer at gmail.com
Tue Jun 20 17:32:16 CDT 2006
i have pushed push over http support to crew repo.
default is for push over http to not work.
to enable in safe and secure way, here are steps:
make sure your server works with ssl. push over http default is not to
work over plain http because of risk of password sniffing. (override
with [web]push_ssl in hgrc.)
make http server require client authentication. one way is to put
.htaccess file in same directory as hgweb.cgi or hgwebdir.cgi, with
conctents like this (apache 2.2):
AuthType Digest
AuthName "hg"
AuthUserFile /home/vadim/public_html/.htdigest
Require valid-user
(digest authentication good because no plaintext passwords sent over wire.)
edit hgrc to have allow_push set:
[web]
allow_push = vadim mpm
then you are done.
More information about the Mercurial
mailing list