view tests/test-serve @ 4861:74f36b1027f4

archive: use util.opener when archiving files. This simplifies the code a bit and makes it easier to support symlinks.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 11 Jul 2007 17:40:41 -0300
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"