view tests/test-serve @ 4678:a814a5b11fff

Work around urllib2 digest auth bug with Python < 2.5 This should fix issue570.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 22 Jun 2007 14:32:54 -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"