diff -r 31a256ffe9e5 -r 682edefe7dbb tests/test-http.t --- a/tests/test-http.t Tue Feb 15 01:05:32 2011 +0100 +++ b/tests/test-http.t Tue Feb 15 02:17:43 2011 +0100 @@ -1,5 +1,4 @@ - $ cp "$TESTDIR"/printenv.py . $ hg init test $ cd test $ echo foo>foo @@ -75,7 +74,7 @@ $ cd copy-pull $ echo '[hooks]' >> .hg/hgrc - $ echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc + $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup' >> .hg/hgrc $ hg pull changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=http://localhost:$HGPORT1/ pulling from http://localhost:$HGPORT1/