开发者

hg serve simply hangs in terminal

开发者 https://www.devze.com 2022-12-28 15:14 出处:网络
I\'ve started using Mercurial for my personal projects and I\'m currently going开发者_高级运维 through Joel\'s tutorial here: http://hginit.com/02.html

I've started using Mercurial for my personal projects and I'm currently going开发者_高级运维 through Joel's tutorial here: http://hginit.com/02.html

The problem is when I type in hg serve in the terminal, it simply hangs. Other commands like hg init works perfectly. Anyone know what's going on?

I installed mercurial by doing this: sudo apt-get install mercurial meld


You want to use the -d option to run it in the background:

hg serve -d

Otherwise it will just run as a foreground process, logging to stdout and stderr.

Run hg help serve to see more options.


Try setting the port to something other than 8000, like hg serve -p 9001. Could be a conflict. Also note that when it runs, it doesn't print anything out to the terminal. It just sits there until you CTRL+C out of it.

0

精彩评论

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