src/init/hginit
author Paul Crowley <paul@lshift.net>
Fri, 20 Feb 2009 11:37:42 +0000
changeset 46 d2bbab5ffd0e
parent 37 d35a30672369
child 62 f1e319d3672a
permissions -rwxr-xr-x
Introduced a bug in last hg-ssh change

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