mercurial on IIS with windows authentication

Aaron Ash aaron.mercurial.list at gmail.com
Wed Apr 7 20:53:59 CDT 2010


Hi Everyone,

I've just finally got mercurial working with IIS 6 on windows server 2003
after following these instructions
http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdir-on-iis/2583846#2583846
 .

What I want to do now is use windows authentication to limit access to the
repositories.
I've set this up and it seems to be working as when I browse to hgwebdir.cgi
using my web browser it asks for a username and password and then only
allows me access if those are correct.
The problem I'm having is cloning the repository using tortoisehg.  I keep
getting an error:
"abort: authorization failed

[command interrupted]"

I've tried putting the username and password in the url like this:
http://user:pass@my.server.com.au/mercurial/hgwebdir.cgi/Repos/Folder/

But I still get the same error.

How do I get TortoiseHG to clone from a repository using windows
authentication?

cheers,
Aaron.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20100408/aae72c2e/attachment.htm>


More information about the Mercurial mailing list