src/init/hginit
author Paul Crowley <paul@lshift.net>
Fri, 06 Mar 2009 13:30:37 +0000
changeset 78 2a3407a14654
parent 62 f1e319d3672a
child 95 4526e3fb0007
permissions -rwxr-xr-x
Replaced env vars with Python globals

#!/bin/sh

set -e

cd ~hg
mkdir -p repos/hgadmin .ssh
cd repos/hgadmin
hg init .
cp /usr/local/lib/mercurial-server/init/hgadmin-hgrc .hg/hgrc