1
#!/bin/sh
2
3
set -e
4
5
hg clone -e /usr/local/lib/hg-admin-tools/ssh-replacement ssh://localhost/hgadmin
6
cd hgadmin
7
cat >> .hg/hgrc << __END__
8
[ui]
9
ssh = /usr/local/lib/hg-admin-tools/ssh-replacement
10
__END__
11
echo "cd to hgadmin, make changes and commit"
12