view tests/test-serve @ 4695:c3da7b6cc975

purge: add the clean alias inspired by git-clean and svn-clean
author Emanuele Aina <em@nerd.ocracy.org>
date Sat, 23 Jun 2007 22:26:22 -0500
parents 9f952dd4413b
children 9858477ed74c
line wrap: on
line source

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