view tests/test-serve @ 4802:7549cd526b7f

Fix serve on Windows without win32* modules.
author Nathan Jones <nathanj@insightbb.com>
date Tue, 26 Jun 2007 10:48:58 -0400
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"