##// 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 #!/bin/sh
1 #!/bin/sh
2
2
3 cp "$TESTDIR"/printenv.py .
4
3 hg init test
5 hg init test
4 cd test
6 cd test
5 echo foo>foo
7 echo foo>foo
@@ -31,6 +33,6 b' cd ..'
31 echo % pull
33 echo % pull
32 cd copy-pull
34 cd copy-pull
33 echo '[hooks]' >> .hg/hgrc
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 hg pull
37 hg pull
36 cd ..
38 cd ..
@@ -31,7 +31,7 b' checking files'
31 1 files, 1 changesets, 1 total revisions
31 1 files, 1 changesets, 1 total revisions
32 adding bar
32 adding bar
33 % pull
33 % pull
34 changegroup: u=http://localhost:20059/
34 changegroup hook: HG_NODE=cfbd11a1fa315300a080c3de8fe36b0fc5820acf HG_SOURCE=pull HG_URL=http://localhost:20059/
35 pulling from http://localhost:20059/
35 pulling from http://localhost:20059/
36 searching for changes
36 searching for changes
37 adding changesets
37 adding changesets
General Comments 0
You need to be logged in to leave comments. Login now