src/init/break-in/create-breakin-repository
changeset 36 b3237aabd0fe
parent 35 0ed592d0f799
equal deleted inserted replaced
35:0ed592d0f799 36:b3237aabd0fe
     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/init/break-in/ssh-replacement ssh://localhost/hgadmin
     5 hg clone -e /usr/local/lib/mercurial-server/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/init/break-in/ssh-replacement
     9 ssh = /usr/local/lib/mercurial-server/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