Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Seems like everyday I have to SSH into our SME server and issue a "hg serve" command so that we can push/pull from/to it. Is there anyway for the mercurial server to stay on? I dont even know whats turning it off as the actual server is always on.

share|improve this question
    
If you look in hg help serve you'll see that you should use a real web server to serve a repository for longer periods of time. –  Martin Geisler Sep 12 '12 at 21:01

1 Answer 1

up vote 4 down vote accepted

It's probably a good idea to set up a more robust mechanism for serving your repositories.

Mercurial includes a nice little CGI (as well as WSGI, which is cleaner and faster) script that you can serve with a production-capable web server which provides both a web interface and an HTTPS endpoint for push/pull.

See here for the setup documentation.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.