webdir_config:
--------------------------------
$ hg serve -p <port> -d --webdir-conf webdir_config
就可以用http://hostname.domainname:<port>/prefix1来访问repo1了。
--------------------------------
[paths]
/prefix1 /path/to/repo1
/prefix2 /path/to/repo2--------------------------------$ hg serve -p <port> -d --webdir-conf webdir_config
就可以用http://hostname.domainname:<port>/prefix1来访问repo1了。
本文介绍如何通过配置webdir_config文件实现多个Mercurial仓库的便捷访问。使用特定命令后,可通过HTTP方式轻松访问指定前缀的相应仓库。
7345

被折叠的 条评论
为什么被折叠?



