tests/test-http.t
changeset 13405 682edefe7dbb
parent 12643 d08bb64888bc
child 13439 d724a69309e0
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 foo>foo
     4   $ echo foo>foo
     6   $ mkdir foo.d foo.d/bAr.hg.d foo.d/baR.d.hg
     5   $ mkdir foo.d foo.d/bAr.hg.d foo.d/baR.d.hg
     7   $ echo foo>foo.d/foo
     6   $ echo foo>foo.d/foo
    73 
    72 
    74 pull
    73 pull
    75 
    74 
    76   $ cd copy-pull
    75   $ cd copy-pull
    77   $ echo '[hooks]' >> .hg/hgrc
    76   $ echo '[hooks]' >> .hg/hgrc
    78   $ echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc
    77   $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup' >> .hg/hgrc
    79   $ hg pull
    78   $ hg pull
    80   changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=http://localhost:$HGPORT1/ 
    79   changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=http://localhost:$HGPORT1/ 
    81   pulling from http://localhost:$HGPORT1/
    80   pulling from http://localhost:$HGPORT1/
    82   searching for changes
    81   searching for changes
    83   adding changesets
    82   adding changesets