##// END OF EJS Templates
test-http: use printenv.py
Alexis S. L. Carvalho -
r4289:e1759888 default
parent child Browse files
Show More
@@ -1,5 +1,7 b''
1 1 #!/bin/sh
2 2
3 cp "$TESTDIR"/printenv.py .
4
3 5 hg init test
4 6 cd test
5 7 echo foo>foo
@@ -31,6 +33,6 b' cd ..'
31 33 echo % pull
32 34 cd copy-pull
33 35 echo '[hooks]' >> .hg/hgrc
34 echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc
36 echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc
35 37 hg pull
36 38 cd ..
@@ -31,7 +31,7 b' checking files'
31 31 1 files, 1 changesets, 1 total revisions
32 32 adding bar
33 33 % pull
34 changegroup: u=http://localhost:20059/
34 changegroup hook: HG_NODE=cfbd11a1fa315300a080c3de8fe36b0fc5820acf HG_SOURCE=pull HG_URL=http://localhost:20059/
35 35 pulling from http://localhost:20059/
36 36 searching for changes
37 37 adding changesets
General Comments 0
You need to be logged in to leave comments. Login now