cannot setup pushing
Linas
linas at infobanga.lt
Wed Jan 13 11:50:57 UTC 2010
Hello,
I'm trying to setup Mercurial server with Apache2 & hgwebdir.cgi @
Ubuntu 9.04 server. Never used mercurial before so I'm quite new to all
this stuff.
It works quite good (not that I tested it much, yet), apart from pushing.
At the bottom of this letter are the errors I find in apache error log.
'No acceptable variant', I guess, has something to do with Apache being
unable to decide which error message to serve so probably it's not
exactly relevant. Since it has something to do with UNAUTHORIZE I guess
it's sort of authorization error. But what I see after hg push
https://user:password@url/repo/directory is not auth error but rather
general 500 Internal Server Error:
searching for changes
abort: HTTP Error 500: Internal Server Error
When I enter /really/ wrong credentials I get normal auth error, i.e.
abort: authorization failed. So this must be something else.
I do have local repo hgrc file with the usernames who are allowed to
push. Also I do have global hgrc file with trusted users, both hgrc do
work (I used to get different errors before I created them). And I
googled quite a lot but did not find anything relevant yet, so you are
my last hope ;) Thanks in advance for your help.
P.S. just in a case it matters, the relevant directory @ server is
initialized as hg repository (has got .hg dir) but is empty at the
moment. What I was trying to push was repository created via NetBeans
Mercurial module, Java source files. I was pushing from Ubuntu terminal
as well.
Apache error log:
[Wed Jan 13 14:03:55 2010] [error] [client (ip adress)] no acceptable
variant: .../error/HTTP_UNAUTHORIZE$
[Wed Jan 13 14:03:55 2010] [error] [client (ip adress)] no acceptable
variant: .../error/HTTP_UNAUTHORIZE$
[Wed Jan 13 14:03:55 2010] [error] [client (ip adress)] no acceptable
variant: .../error/HTTP_UNAUTHORIZE$
[Wed Jan 13 14:03:55 2010] [error] [client (ip adress)] no acceptable
variant: .../error/HTTP_UNAUTHORIZE$
[Wed Jan 13 14:03:56 2010] [error] [client (ip adress)]
/var/lib/python-support/python2.6/mercurial/hgweb/common.py:24:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
[Wed Jan 13 14:03:56 2010] [error] [client (ip adress)] self.message =
message
[Wed Jan 13 14:03:56 2010] [error] [client (ip adress)]
/var/lib/python-support/python2.6/mercurial/hgweb/hgweb_mod.py:104:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
[Wed Jan 13 14:03:56 2010] [error] [client (ip adress)] if not
inst.message:
[Wed Jan 13 14:03:56 2010] [error] [client (ip adress)]
/var/lib/python-support/python2.6/mercurial/hgweb/hgweb_mod.py:106:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
[Wed Jan 13 14:03:56 2010] [error] [client (ip adress)] return
'0\\n%s\\n' % inst.message,
- Linas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20100113/38e42551/attachment.html>
More information about the Mercurial
mailing list