tests/test-serve
author Brendan Cully <brendan@kublai.com>
Mon, 09 Jul 2007 22:12:28 -0700
changeset 4850 f3802f9f1840
parent 4506 9f952dd4413b
child 4866 9858477ed74c
permissions -rwxr-xr-x
Add SSL support to hg serve, activated via --certificate option

#!/bin/sh

hg init test
cd test

echo % Without -v
hg serve -a localhost -p 20063 -d --pid-file=hg.pid
cat hg.pid >> "$DAEMON_PIDS"

echo % With -v
hg serve -a localhost -p 20064 -d --pid-file=hg.pid -v
cat hg.pid >> "$DAEMON_PIDS"