How can I have the main repository stored on a local network?
I'm wondering how can I have the main Mercuri开发者_开发百科al repository stored on the local network and every developer connected to it can do the usual things (just like with BitBucket online.)
Thanks.
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
- Set up a machine running the apache HTTP server (or another webserver that can host hgwebdir)
- Install the hgwebdir CGI script.
精彩评论