开发者

Does each repository get its own instance of hg serve?

开发者 https://www.devze.com 2023-01-25 16:53 出处:网络
I am following Mercurial guide and quickstart and don\'t see this called out specifically so I\'d appreciate a little guidance on setting up the repos.

I am following Mercurial guide and quickstart and don't see this called out specifically so I'd appreciate a little guidance on setting up the repos.

Let's say I have a c:\repo directory (Windows) with two project directories.

Should hg serve be run from each dir on different ports?

In the quickstart I see http://selenic.com/repo/hello. How does that work?

Any pointers in the right direction wou开发者_如何学运维ld be great, thanks.


Yes, in this case you should run 2 instances of serve on different ports.

Look at https://www.mercurial-scm.org/wiki/PublishingRepositories to get more advanced way to share your repositories.

0

精彩评论

暂无评论...
验证码 换一张
取 消