Beginner Help: Setting up mercurial server on Windows/Apache

Matt Hawley Matt.Hawley at microsoft.com
Tue Feb 23 19:11:49 CST 2010


Hi Max,

Are you authenticating with Active Directory? If so, make sure that your basic auth settings are using that as a default domain, then edit the hgrc for a repository setting

[web]
allow_push = listOfUsers

When you do an hg push, use your domain credentials. Also note, that since you're using basic auth, your credentials are passed in plain text, and you will probably want to use SSL.

Matt

From: Maxmelbin Neson [mailto:max.melbin at gmail.com]
Sent: Tuesday, February 23, 2010 10:48 AM
To: Matt Hawley
Cc: mercurial at selenic.com
Subject: Re: Beginner Help: Setting up mercurial server on Windows/Apache

Hello Matt,

Thanks for the link.
i did a little far..
The mercurial web page shows my repo's adn i can browse them too..

i made changes to one of the files in the project, commited it and tried to push it ..
it asks me for the user name and password ..
where do i set the user name and password?

F:\hgprojects\LbManager>hg push
pushing to http://localhost/hg/hgwebdir.cgi/MySourceCode/LbManager
searching for changes
http authorization required
realm: localhost
user: Maxmelbin Neson
password:

Thanks
Max


On Mon, Feb 22, 2010 at 11:25 PM, Matt Hawley <Matt.Hawley at microsoft.com<mailto:Matt.Hawley at microsoft.com>> wrote:
Hot off the blogosphere... since you're on the windows platform, why not host directly in IIS? Jeremy Skinner recently published a thorough step-by-step post at

http://www.jeremyskinner.co.uk/mercurial-on-iis7

Matt Hawley
CodePlex

From: mercurial-bounces at selenic.com<mailto:mercurial-bounces at selenic.com> [mailto:mercurial-bounces at selenic.com<mailto:mercurial-bounces at selenic.com>] On Behalf Of Maxmelbin Neson
Sent: Monday, February 22, 2010 9:43 AM
To: mercurial at selenic.com<mailto:mercurial at selenic.com>
Subject: Beginner Help: Setting up mercurial server on Windows/Apache


Hello ,

I have been trying to set up mercurial on Apache on Windows following online instructions.
I just could not succeed, eventually Apache crashed and i uninstalled everything.. :-)

Now, i want to start fresh. Is there an easy step-by-step instruction which i can follow?

Please also send me a sample hgwebdir.cgi script.

Objective: I am checking if i can use Mecurial for a project in my company distributed over 3 geo locations but with <50 developers.
ClearCase is an overkill for the project as it is too costly for there size. Hence i am looking @ hg

Hope for your valuable assistance

Regards
Maxmelbin Neson




_______________________________________________
Mercurial mailing list
Mercurial at selenic.com<mailto:Mercurial at selenic.com>
http://selenic.com/mailman/listinfo/mercurial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20100224/b3e72780/attachment.htm>


More information about the Mercurial mailing list