src/init/break-in/create-breakin-repository
changeset 35 0ed592d0f799
parent 34 4b5ca59fe3b7
child 36 b3237aabd0fe
equal deleted inserted replaced
34:4b5ca59fe3b7 35:0ed592d0f799
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 set -e
     3 set -e
     4 
     4 
     5 hg clone -e /usr/local/lib/hg-admin-tools/ssh-replacement ssh://localhost/hgadmin
     5 hg clone -e /usr/local/lib/hg-admin-tools/init/break-in/ssh-replacement ssh://localhost/hgadmin
     6 cd hgadmin
     6 cd hgadmin
     7 cat >> .hg/hgrc << __END__
     7 cat >> .hg/hgrc << __END__
     8 [ui]
     8 [ui]
     9 ssh = /usr/local/lib/hg-admin-tools/ssh-replacement
     9 ssh = /usr/local/lib/hg-admin-tools/init/break-in/ssh-replacement
    10 __END__
    10 __END__
    11 echo "cd to hgadmin, make changes and commit"
    11 echo "cd to hgadmin, make changes and commit"
    12 
    12