src/init/hginit
author Paul Crowley <paul@lshift.net>
Sat, 07 Mar 2009 09:55:01 +0000
changeset 86 78777f509303
parent 62 f1e319d3672a
child 95 4526e3fb0007
permissions -rwxr-xr-x
Move check for hg user where it belongs

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