src/init/hginit
author Paul Crowley <paul@lshift.net>
Tue, 13 Oct 2009 10:41:24 +0100
changeset 110 69596fffcf7d
parent 96 975fb921c3f3
child 165 3606d60b07e5
permissions -rwxr-xr-x
Less canonicalisation, use os.path to check for dotfiles

#!/bin/sh

set -e

cd ~hg
mkdir -p repos/hgadmin .ssh
cd repos/hgadmin
hg init .
cp $1/init/hgadmin-hgrc .hg/hgrc