Show More
@@ -1,5 +1,7 | |||
|
1 | 1 | #!/bin/sh |
|
2 | 2 | |
|
3 | cp "$TESTDIR"/printenv.py . | |
|
4 | ||
|
3 | 5 | http_proxy= hg clone static-http://localhost:20059/ copy |
|
4 | 6 | echo $? |
|
5 | 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 | 47 | cd ../local |
|
46 | 48 | echo '[hooks]' >> .hg/hgrc |
|
47 |
echo 'changegroup = |
|
|
49 | echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc | |
|
48 | 50 | http_proxy= hg pull |
|
49 | 51 | |
|
50 | 52 | kill $! |
@@ -20,7 +20,7 checking files | |||
|
20 | 20 | 1 files, 1 changesets, 1 total revisions |
|
21 | 21 | foo |
|
22 | 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 | 24 | pulling from static-http://localhost:20059/remote |
|
25 | 25 | searching for changes |
|
26 | 26 | adding changesets |
General Comments 0
You need to be logged in to leave comments.
Login now