Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道我如何从 Windows 命令行启动 hgweb(mercurial hg Web 服务器)吗?
目前要运行它,我在存储库文件夹中的资源管理器窗口上单击鼠标右键。
谢谢!
D:\>hg serve listening at http://my.host.name:8888/ (bound to *:8888)
CTRL+C杀死它。
您可以使用'hg serve'启动 q web 服务器,它将在默认端口上侦听:8000。或者您可以指定端口'hg serve -p XXXX'
我在批处理文件上使用它并自动启动它。