tests/test-push-http.t
changeset 13405 682edefe7dbb
parent 13404 31a256ffe9e5
child 13446 1e497df514e2
equal deleted inserted replaced
13404:31a256ffe9e5 13405:682edefe7dbb
     1 
     1 
     2   $ cp "$TESTDIR"/printenv.py .
       
     3   $ hg init test
     2   $ hg init test
     4   $ cd test
     3   $ cd test
     5   $ echo a > a
     4   $ echo a > a
     6   $ hg ci -Ama
     5   $ hg ci -Ama
     7   adding a
     6   adding a
    51 
    50 
    52 expect success
    51 expect success
    53 
    52 
    54   $ echo 'allow_push = *' >> .hg/hgrc
    53   $ echo 'allow_push = *' >> .hg/hgrc
    55   $ echo '[hooks]' >> .hg/hgrc
    54   $ echo '[hooks]' >> .hg/hgrc
    56   $ echo 'changegroup = python ../printenv.py changegroup 0' >> .hg/hgrc
    55   $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup 0' >> .hg/hgrc
    57   $ req
    56   $ req
    58   pushing to http://localhost:$HGPORT/
    57   pushing to http://localhost:$HGPORT/
    59   searching for changes
    58   searching for changes
    60   remote: adding changesets
    59   remote: adding changesets
    61   remote: adding manifests
    60   remote: adding manifests