views:

68

answers:

2

I've got a server and I want to use Mercurial to coordinate a project. Can I just make a repo, put it on the server, and have everyone else clone it, then push/pull from it? Is there some way to password protect it?

+3  A: 

Yes. The wiki has a good breakdown on the various mechanisms. hgweb and hgwebdir (which I've used) are probably the simplest. push is off by default, but can be enabled. They're simple Python scripts that can use Apache for authentication.

Matthew Flaschen
+1  A: 

Depending on how many people you have using the repository, you can just use a network share to push and pull from (eg: \\myserver\repositories\myproject\). We have been doing this internally for some time with no issues, however we only have 3 people who ever access the repositories. If you have more then you may consider doing what Matthew Flaschen says and use a publishing method.

Jason Webb