src/init/hginit
author Paul Crowley <paul@lshift.net>
Mon, 09 Nov 2009 13:23:45 +0000
changeset 167 aeeba4d0dd4e
parent 165 3606d60b07e5
child 168 f9bf8f84df7f
permissions -rwxr-xr-x
Ignore files in build directory

#!/bin/sh

# WARNING: this must be run from the hg user's home directory

set -e

cp $1/init/dot-mercurial-server .mercurial-server
mkdir -p repos/hgadmin .ssh
cd repos/hgadmin
hg init .
cp $1/init/hgadmin-hgrc .hg/hgrc