Newbie: How to create a shared repository?

Jens Alfke jens at mooseyard.com
Mon Aug 20 10:33:08 CDT 2007


On 20 Aug '07, at 2:03 AM, Imbeault, Jean-Christian wrote:

> I've been able to get hg up an running on my machine but I have not  
> been
> able to find out how to share the repository that I have created.

The book describes all of that in detail: http://hgbook.red-bean.com/
It's definitely required reading for Hg newbies; it helped me a lot.

> Also, in hg, is there a concept of a central or shared repository?  
> If so
> how do I set one up? I can't seem to find any instructions for this in
> the how-to's.

In distributed version control, repositories are basically peers, and  
revisions can transfer between them in any direction. However, you can  
build different types of configurations out of this, including a CVS/ 
SVN-type central server. It's mostly a matter of conventions, and  
access control. Again, the book describes this in some depth.

--Jens


More information about the Mercurial mailing list