开发者

Mercurial, abort: authorization failed

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:password@example.site.com/hg/hgweb.cgi/TestRepository

then if I try to Push or Pull I g开发者_C百科et the error message:

abort: authorization failed

Any Ideas?


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜