src/init/hginit
author Paul Crowley <paul@lshift.net>
Mon, 16 Jun 2008 17:24:53 +0100
changeset 36 b3237aabd0fe
parent 33 18e93dbdaf12
child 37 d35a30672369
permissions -rwxr-xr-x
Change the name to mercurial-server

#!/bin/sh

set -e

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