src/init/break-in/create-breakin-repository
author Paul Crowley <paul@lshift.net>
Mon, 16 Jun 2008 17:17:29 +0100
changeset 34 4b5ca59fe3b7
parent 32 create-breakin-repository@4059dbe9f26a
child 35 0ed592d0f799
permissions -rwxr-xr-x
more actual file moves - forgot to tell hg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
#!/bin/sh
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
set -e
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     5
hg clone -e /usr/local/lib/hg-admin-tools/ssh-replacement ssh://localhost/hgadmin
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     6
cd hgadmin
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     7
cat >> .hg/hgrc << __END__
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     8
[ui]
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     9
ssh = /usr/local/lib/hg-admin-tools/ssh-replacement
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    10
__END__
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    11
echo "cd to hgadmin, make changes and commit"
4059dbe9f26a new break-in system
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    12