author | Paul Crowley <paul@lshift.net> |
Mon, 09 Nov 2009 13:23:33 +0000 | |
changeset 166 | d7e6f114e8e4 |
parent 165 | 3606d60b07e5 |
child 168 | f9bf8f84df7f |
permissions | -rwxr-xr-x |
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 |
|
165
3606d60b07e5
Use .mercurial-sever file instead of hardcoding
Paul Crowley <paul@lshift.net>
parents:
96
diff
changeset
|
3 |
# WARNING: this must be run from the hg user's home directory |
3606d60b07e5
Use .mercurial-sever file instead of hardcoding
Paul Crowley <paul@lshift.net>
parents:
96
diff
changeset
|
4 |
|
27
ec31ba248edd
Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff
changeset
|
5 |
set -e |
ec31ba248edd
Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff
changeset
|
6 |
|
165
3606d60b07e5
Use .mercurial-sever file instead of hardcoding
Paul Crowley <paul@lshift.net>
parents:
96
diff
changeset
|
7 |
cp $1/init/dot-mercurial-server .mercurial-server |
31
d54720d47ca2
start to move towards things living where they should and new
Paul Crowley <paul@lshift.net>
parents:
30
diff
changeset
|
8 |
mkdir -p repos/hgadmin .ssh |
27
ec31ba248edd
Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff
changeset
|
9 |
cd repos/hgadmin |
ec31ba248edd
Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff
changeset
|
10 |
hg init . |
96 | 11 |
cp $1/init/hgadmin-hgrc .hg/hgrc |