push via https apache2
J.S. van Bethlehem
j.s.van.bethlehem at astro.rug.nl
Tue Nov 10 05:23:07 CST 2009
Remember that SSH access has _nothing_ to do with https-access; ssh has
to do with shell-access, https has to do with your webserver, which is
very likely Apache. As Kevin Maris noted: you need a certificate to
allow the https protocol. But since you noted that you can browse the
repository, that is very likely not the problem.
Anyway: since you can browse the repository and since you can pull, my
best guess is that there is some issue with file permissions on a
system-level. Of course I'm only guessing since the 500-code you get is
the worst you can get; it tells you basically absolutely nothing.
I do remember encountering this once myself though. Then the problem was
that the glibc-library on the webserver was way older than the one that
mercurial needs. I don't know anything about the internals of mercurial,
so maybe someone knows of some library or system-call that is only used
when pushing (ie writing) to a repository instead of only reading?
Greetsz, Jakob
tyk wrote:
> I can browse the repository through hgwebdir.cgi without problems. I can push
> through SSH OK.
>
> Greg Ward-17 wrote:
>> On Mon, Nov 9, 2009 at 4:13 PM, tyk <comp4net at yahoo.com> wrote:
>>> I am trying to push through https, apache2, ubuntu 9.04.
>>>
>>> I get this error in apache error log:
>>>
>>> /usr/local/lib/python2.6/dist-packages/mercurial-1.3.1-py2.6-linux-i686.egg/mercurial/hgweb/hgweb_mod.py:126:
>>> DeprecationWarning: BaseException.message has been deprecated as of
>>> Python
>>> 2.6
>>> return '0\n%s\n' % inst.message,
>> That's just a warning. If there is a failure of some sort, that's not it.
>>
>> What do you see from the client when you run "hg push" over https?
>> And have you configured web.allow_push? (See the hgrc(5) man page for
>> details.)
>>
>> Greg
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at selenic.com
>> http://selenic.com/mailman/listinfo/mercurial
>>
>>
>
More information about the Mercurial
mailing list