equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
|
2 |
|
3 cp "$TESTDIR"/printenv.py . |
2 |
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 |
6 |
8 |
42 echo baz > quux |
44 echo baz > quux |
43 hg commit -A -mtest2 -d '100000000 0' |
45 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 = echo changegroup: u=$HG_URL' >> .hg/hgrc |
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 $! |