开发者

Does each repository get its own instance of hg serve?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜