Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

starting mercurial hg web server from windows command line

Anybody knows how I can start hgweb (mercurial hg web server) from the windows command line?

Currently to run it I am doing a rightclick on the explorer window in a repository folder.

Thanks!

like image 241
ravyoli Avatar asked Jan 23 '26 05:01

ravyoli


2 Answers

D:\>hg serve
listening at http://my.host.name:8888/ (bound to *:8888)

CTRL+C to kill it.

like image 66
Burhan Khalid Avatar answered Jan 25 '26 05:01

Burhan Khalid


You can start q web server using 'hg serve' and that will listen on the default port: 8000. Or you can specify a port 'hg serve -p XXXX'

I use it on a batch file and start it automatically.

like image 21
germangti Avatar answered Jan 25 '26 06:01

germangti



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!