src/init/break-in/create-breakin-repository
author Paul Crowley <paul@lshift.net>
Thu, 19 Feb 2009 16:36:41 +0000
changeset 38 f1ee930c4ba8
parent 36 b3237aabd0fe
permissions -rwxr-xr-x
Add start of script for breaking in
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
36
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 35
diff changeset
     5
hg clone -e /usr/local/lib/mercurial-server/init/break-in/ssh-replacement ssh://localhost/hgadmin
32
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]
36
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 35
diff changeset
     9
ssh = /usr/local/lib/mercurial-server/init/break-in/ssh-replacement
32
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