comparison tests/test-http.t @ 13405:682edefe7dbb

tests: use printenv.py where it is - don't copy it around
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 15 Feb 2011 02:17:43 +0100
parents d08bb64888bc
children d724a69309e0
comparison
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