src/init/hginit
author Paul Crowley <paul@lshift.net>
Tue, 24 Feb 2009 10:31:48 +0000
changeset 65 d5c3bb61607b
parent 62 f1e319d3672a
child 95 4526e3fb0007
permissions -rwxr-xr-x
Describe plan to abolish shell scripts and un-hard-wire paths

#!/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