src/init/hginit
author Paul Crowley <paul@lshift.net>
Tue, 13 Oct 2009 18:32:26 +0100
branchdebian
changeset 118 107906bfe2c6
parent 96 975fb921c3f3
child 165 3606d60b07e5
permissions -rwxr-xr-x
Fold in change from default
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 .
96
975fb921c3f3 abolish that one last path
Paul Crowley <paul@lshift.net>
parents: 95
diff changeset
     9
cp $1/init/hgadmin-hgrc .hg/hgrc