hginit
changeset 32 4059dbe9f26a
parent 31 d54720d47ca2
equal deleted inserted replaced
31:d54720d47ca2 32:4059dbe9f26a
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 set -e
     3 set -e
     4 
     4 
     5 cd
     5 cd ~hg
     6 mkdir -p repos/hgadmin .ssh
     6 mkdir -p repos/hgadmin .ssh
     7 cd repos/hgadmin
     7 cd repos/hgadmin
     8 hg init .
     8 hg init .
     9 cp /usr/local/lib/hg-admin-tools/hgadmin-hgrc .hg/hgrc
     9 cp /usr/local/lib/hg-admin-tools/hgadmin-hgrc .hg/hgrc
    10 
    10