tests/test-static-http.t
branchstable
changeset 30234 34a5f6c66bc5
parent 29514 280528245ecf
child 31741 728d37353e1e
equal deleted inserted replaced
30233:3afde791dce1 30234:34a5f6c66bc5
    51 
    51 
    52 check for HTTP opener failures when cachefile does not exist
    52 check for HTTP opener failures when cachefile does not exist
    53 
    53 
    54   $ rm .hg/cache/*
    54   $ rm .hg/cache/*
    55   $ cd ../local
    55   $ cd ../local
    56   $ echo '[hooks]' >> .hg/hgrc
    56   $ cat >> .hg/hgrc <<EOF
    57   $ echo "changegroup = printenv.py changegroup" >> .hg/hgrc
    57   > [hooks]
       
    58   > changegroup = sh -c "printenv.py changegroup"
       
    59   > EOF
    58   $ hg pull
    60   $ hg pull
    59   pulling from static-http://localhost:$HGPORT/remote
    61   pulling from static-http://localhost:$HGPORT/remote
    60   searching for changes
    62   searching for changes
    61   adding changesets
    63   adding changesets
    62   adding manifests
    64   adding manifests