clone from URL

Paul Boddie paul.boddie at biotek.uio.no
Tue Jun 14 08:18:58 CDT 2011


On 14/06/11 15:12, norricorp wrote:
> Hi Paul,
> I agree that ssh and htpasswd are two different things. I did have different
> passwords but thought that mercurial might be getting confused and trying to
> use the password for the web server as the password for ssh (if it uses ssh
> to copy down the clone - I have no idea).

On the client, Mercurial will request any credentials that the Web 
server says it needs - there's no switching from HTTP to SSH or anything 
like that. And on the server side, once the Web server lets the request 
reach Mercurial, there's no password checking happening any more: 
Mercurial will just run on the server with the permissions it has.

> If I view the repository on linux via a browser on a different machine then
> the listing of logs is what I would expect. Whether it is hgweb or apache
> style, no idea. There are mercurial logos so it looks very proper.

I guess this is hgweb, then.

> Where are the logs kept in Mercurial - I have not come across in the
> definitive guide yet. Which is perhaps not very definitive.
> Also what do you mean by "resource" - process? machine?

Sorry, I meant the Web server logs. The error log is usually found in 
/var/log/apache/error.log or /var/log/httpd/error.log depending on which 
kind of system you're running. I would hope to find some kind of error 
in there, indicating why Apache returned a 404 error.

Paul


More information about the Mercurial mailing list