tests/test-serve
author Matt Mackall <mpm@selenic.com>
Sun, 24 Jun 2007 18:22:40 -0500
changeset 4700 a2e025fcd256
parent 4506 9f952dd4413b
child 4866 9858477ed74c
permissions -rwxr-xr-x
strip: pull core strip logic into its own function

#!/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"