src/init/hginit
author Paul Crowley <paul@lshift.net>
Mon, 12 Oct 2009 17:04:26 +0100
changeset 109 72100d3ed1bd
parent 96 975fb921c3f3
child 165 3606d60b07e5
permissions -rwxr-xr-x
Don't mix exceptions and sys.exit based failures

#!/bin/sh

set -e

cd ~hg
mkdir -p repos/hgadmin .ssh
cd repos/hgadmin
hg init .
cp $1/init/hgadmin-hgrc .hg/hgrc