scripts/hg.sh
author John Kern <johnk@symbian.org>
Fri, 29 Jan 2010 16:32:12 -0800
changeset 62 040d2c998a7b
parent 59 9ffe5293bebc
permissions -rwxr-xr-x
source level most be provided on command line; work is variable

#!/bin/sh

REPO_DIR=/usr/hg/wrttools/
LOG_DIR=/var/log/mercurial 
HG_CMD=/usr/local/bin/hg

cd $REPO_DIR
${HG_CMD} serve -d -A ${LOG_DIR}/accesslog$$ -E ${LOG_DIR}/errorlog$$ 
# ${HG_CMD} serve