Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-static-http @ 4290:347766c2ff86
test-static-http: use printenv.py
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 26 Mar 2007 23:50:03 -0300 |
parents | 33b6c8193652 |
children | 598dae804a5f |
comparison
equal
deleted
inserted
replaced
4289:e17598881509 | 4290:347766c2ff86 |
---|---|
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 $! |