tests/test-http
changeset 4289 e17598881509
parent 4130 178007785be8
child 5384 e3a0c092b4e2
equal deleted inserted replaced
4288:8a3e12426c03 4289:e17598881509
     1 #!/bin/sh
     1 #!/bin/sh
       
     2 
       
     3 cp "$TESTDIR"/printenv.py .
     2 
     4 
     3 hg init test
     5 hg init test
     4 cd test
     6 cd test
     5 echo foo>foo
     7 echo foo>foo
     6 hg commit -A -d '0 0' -m 1
     8 hg commit -A -d '0 0' -m 1
    29 cd ..
    31 cd ..
    30 
    32 
    31 echo % pull
    33 echo % pull
    32 cd copy-pull
    34 cd copy-pull
    33 echo '[hooks]' >> .hg/hgrc
    35 echo '[hooks]' >> .hg/hgrc
    34 echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc
    36 echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc
    35 hg pull
    37 hg pull
    36 cd ..
    38 cd ..