--- a/tests/test-ssh Tue Jul 25 21:22:56 2006 +0200
+++ b/tests/test-ssh Tue Jul 25 13:50:32 2006 -0700
@@ -17,6 +17,8 @@
exit -1
fi
+SSH_CLIENT='127.0.0.1 1 2'
+export SSH_CLIENT
echo Got arguments 1:$1 2:$2 3:$3 4:$4 5:$5 >> dummylog
$2
EOF
@@ -29,6 +31,8 @@
hg ci -A -m "init" -d "1000000 0" foo
echo '[server]' > .hg/hgrc
echo 'uncompressed = True' >> .hg/hgrc
+echo '[hooks]' >> .hg/hgrc
+echo 'changegroup = echo changegroup in remote: u=$HG_URL >> ../dummylog' >> .hg/hgrc
cd ..
@@ -46,6 +50,9 @@
cd local
hg verify
+echo '[hooks]' >> .hg/hgrc
+echo 'changegroup = echo changegroup in local: u=$HG_URL >> ../dummylog' >> .hg/hgrc
+
echo "# empty default pull"
hg paths
hg pull -e ../dummyssh