src/init/hginit
author Paul Crowley <paul@lshift.net>
Mon, 16 Jun 2008 17:46:04 +0100
changeset 37 d35a30672369
parent 36 b3237aabd0fe
child 62 f1e319d3672a
permissions -rwxr-xr-x
fixes to installer
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     1
#!/bin/sh
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     2
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     3
set -e
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     4
32
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents: 31
diff changeset
     5
cd ~hg
31
d54720d47ca2 start to move towards things living where they should and new
Paul Crowley <paul@lshift.net>
parents: 30
diff changeset
     6
mkdir -p repos/hgadmin .ssh
27
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     7
cd repos/hgadmin
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     8
hg init .
37
d35a30672369 fixes to installer
Paul Crowley <paul@lshift.net>
parents: 36
diff changeset
     9
cp /usr/local/lib/mercurial-server/init/hgadmin-hgrc .hg/hgrc
31
d54720d47ca2 start to move towards things living where they should and new
Paul Crowley <paul@lshift.net>
parents: 30
diff changeset
    10