push over http hanging
Georg
gwk.rko at googlemail.com
Mon Jul 31 22:35:25 UTC 2006
Ok so my problem (after a long debugging night) was the redirect I got from
Apache. Guess the 301 in my first post should
have sprung all of us into the face... I didn't notice it.
It turns out the mercurial client does not handle redirects but just sits
there, silent.
The way to avoid the redirect was to append a trailing "/" to the URL --
Apache gurus out there please tell me what the heck is going on there.
But still, the http push code seems extremely rough. E.g. I had a stuck
repository caused by my many failed attempts to push. So the server
responded with a text/html error message requesting a recover. But the
client again didn't handle that; instead of printing the error message
it just looked at the mimetype, and since it wasn't text/plain or
application/mercurial it just printed "...does not appear to be an hg
repository!"
Which left me clueless for another half hour, and yet more print statements
for debugging.
--
G'night.
Georg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20060801/289869e4/attachment-0001.html>
More information about the Mercurial
mailing list