如何让主存储库存储在本地网络上?

问题描述:

我想知道如何将本地网络上存储的主Mercurial存储库和每个连接到它的开发人员都可以执行常规操作(就像使用BitBucket在线一样)。如何让主存储库存储在本地网络上?

谢谢。

检查https://www.mercurial-scm.org/wiki/PublishingRepositories
如果它只是在本地网络,hg serve是最容易/ 0 AUTH支持最快的。 当然,您可以随时使用ssh而无需设置服务器。 hg clone ssh://your-main-server/path/to/repo

+0

谢谢,但这只是工作,虽然我的机器,当我尝试访问它通过:http:// localhost:8000 /。所以我有两个问题:1.其他用户是否可以推送更新或者只能提取更新? 2.如何使http:// localhost:8000 /可通过网络访问? – emurad 2010-11-30 09:41:14

  1. 设置运行apache HTTP server(或另一个网站服务器可托管hgwebdir)
  2. Install the hgwebdir CGI script的机器。