--- a/tests/test-static-http Mon Mar 26 23:50:01 2007 -0300
+++ b/tests/test-static-http Mon Mar 26 23:50:03 2007 -0300
@@ -1,5 +1,7 @@
#!/bin/sh
+cp "$TESTDIR"/printenv.py .
+
http_proxy= hg clone static-http://localhost:20059/ copy
echo $?
test -d copy || echo copy: No such file or directory
@@ -44,7 +46,7 @@
cd ../local
echo '[hooks]' >> .hg/hgrc
-echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc
+echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc
http_proxy= hg pull
kill $!
--- a/tests/test-static-http.out Mon Mar 26 23:50:01 2007 -0300
+++ b/tests/test-static-http.out Mon Mar 26 23:50:03 2007 -0300
@@ -20,7 +20,7 @@
1 files, 1 changesets, 1 total revisions
foo
adding quux
-changegroup: u=static-http://localhost:20059/remote
+changegroup hook: HG_NODE=34401e0e9971e9720b613d9089ffa9a6eefb3d2d HG_SOURCE=pull HG_URL=static-http://localhost:20059/remote
pulling from static-http://localhost:20059/remote
searching for changes
adding changesets