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

发布于 2024-10-05 06:25:06 字数 94 浏览 0 评论 0原文

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

谢谢。

I'm wondering how can I have the main Mercurial repository stored on the local network and every developer connected to it can do the usual things (just like with BitBucket online.)

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

放肆 2024-10-12 06:25:06

检查https://www.mercurial-scm.org/wiki/PublishingRepositories
如果仅在本地网络上,hgserve 是最简单/最快的,并且支持 0 auth。
当然,您始终可以使用 ssh,而无需设置服务器。
hg 克隆 ssh://your-main-server/path/to/repo

Check https://www.mercurial-scm.org/wiki/PublishingRepositories
If it's only on a local network, hg serve is the easiest/fastest with 0 auth support.
of course you can always use ssh without the need of setting up a server.
hg clone ssh://your-main-server/path/to/repo

守护在此方 2024-10-12 06:25:06
  1. 设置一台运行 apache HTTP 服务器 的计算机(或另一个可以托管 hgwebdir 的网络服务器)
  2. 安装 hgwebdir CGI 脚本
  1. Set up a machine running the apache HTTP server (or another webserver that can host hgwebdir)
  2. Install the hgwebdir CGI script.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文