Show More
@@ -1,5 +1,7 | |||||
1 | #!/bin/sh |
|
1 | #!/bin/sh | |
2 |
|
2 | |||
|
3 | cp "$TESTDIR"/printenv.py . | |||
|
4 | ||||
3 | http_proxy= hg clone static-http://localhost:20059/ copy |
|
5 | http_proxy= hg clone static-http://localhost:20059/ copy | |
4 | echo $? |
|
6 | echo $? | |
5 | test -d copy || echo copy: No such file or directory |
|
7 | test -d copy || echo copy: No such file or directory | |
@@ -44,7 +46,7 hg commit -A -mtest2 -d '100000000 0' | |||||
44 |
|
46 | |||
45 | cd ../local |
|
47 | cd ../local | |
46 | echo '[hooks]' >> .hg/hgrc |
|
48 | echo '[hooks]' >> .hg/hgrc | |
47 |
echo 'changegroup = |
|
49 | echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc | |
48 | http_proxy= hg pull |
|
50 | http_proxy= hg pull | |
49 |
|
51 | |||
50 | kill $! |
|
52 | kill $! |
@@ -20,7 +20,7 checking files | |||||
20 | 1 files, 1 changesets, 1 total revisions |
|
20 | 1 files, 1 changesets, 1 total revisions | |
21 | foo |
|
21 | foo | |
22 | adding quux |
|
22 | adding quux | |
23 | changegroup: u=static-http://localhost:20059/remote |
|
23 | changegroup hook: HG_NODE=34401e0e9971e9720b613d9089ffa9a6eefb3d2d HG_SOURCE=pull HG_URL=static-http://localhost:20059/remote | |
24 | pulling from static-http://localhost:20059/remote |
|
24 | pulling from static-http://localhost:20059/remote | |
25 | searching for changes |
|
25 | searching for changes | |
26 | adding changesets |
|
26 | adding changesets |
General Comments 0
You need to be logged in to leave comments.
Login now