1
votes

I'm having problems accessing a mercurial repository. (mercurial 1.7.1)

Its set up on IIS6 windows 2003 over Https,

I can access the site through a browser using the same credentials,

I can access the site if I enable anonymous access for the virtual directory in IIS, but I need to use the Integrated Windows authentication.

I have tried setting the path in my hgrc file to:

[paths]
default = https://username:[email protected]/hg/hgweb.cgi/TestRepository

then if I try to Push or Pull I get the error message:

abort: authorization failed

Any Ideas?

2
It's not an answer, and probably not even related, but I've had authentication issues when trying to reach our hg repo via hg in a virtualbox linux, while no trouble at all from native Windows hg.Ken

2 Answers

1
votes

The most useful output is probably in your webserver/IIS logs -- check there. You can also try --debug on the mercurial command line to get a little more output, but it's likely going to be on the web server side.

0
votes

I have changed the Directory security authentication mode to basic authentication. For the time being this seem to be sufficient for our needs