Cannot push to shared server
Paul Boddie
paul.boddie at biotek.uio.no
Thu Apr 29 11:13:28 UTC 2010
Nick Gamroth wrote:
> I used this advice and .htaccess seems to be working correctly. In my
> browser I can go to http://thebeekeeper.net/hg/ and get the mercurial
> repositories view. I can push to the server with
> hg push http://****:****@thebeekeeper.net/hg/x
>
> I can't clone from /hg/x however; I get a abort: HTTP Error 500:
> Internal Server Error. It seems like this isn't related to apache at
> all, and I found
> http://mercurial.selenic.com/wiki/PublishingRepositories#Troubleshooting
> which looked like it would help, but its still not working after
> setting the permissions. It still seems like a permissions issue, but
> I'm not sure where. Everything in my ~/repos tree has read
> permissions.
>
It's somewhat odd that you can push but not clone. After briefly looking
at the code, the only thing I can think of that might cause such a
problem is acquiring a lock on the repository, which presumably requires
write access to some directory, but I would have thought that locking
would be involved when you push, too.
> I took a look at my server logs, and tried each URL in my browser.
> Everything succeeds except for
>
> "GET /hg/x?bases=0000000000000000000000000000000000000000&cmd=changegroupsubset&heads=627caa389f544cd5ef6241525b5b1397bc6f59a1
> HTTP/1.1" 500 738 "-" "mercurial/proto-1.0"
>
> which gives me the 500 error
>
Do you have access to the Apache error log?
Paul
More information about the Mercurial
mailing list