changeset 165 | 3606d60b07e5 |
parent 96 | 975fb921c3f3 |
child 168 | f9bf8f84df7f |
164:32131253c2f1 | 165:3606d60b07e5 |
---|---|
1 #!/bin/sh |
1 #!/bin/sh |
2 |
|
3 # WARNING: this must be run from the hg user's home directory |
|
2 |
4 |
3 set -e |
5 set -e |
4 |
6 |
5 cd ~hg |
7 cp $1/init/dot-mercurial-server .mercurial-server |
6 mkdir -p repos/hgadmin .ssh |
8 mkdir -p repos/hgadmin .ssh |
7 cd repos/hgadmin |
9 cd repos/hgadmin |
8 hg init . |
10 hg init . |
9 cp $1/init/hgadmin-hgrc .hg/hgrc |
11 cp $1/init/hgadmin-hgrc .hg/hgrc |