Mercurial > hg
comparison tests/test-static-http @ 2431:d90a9d7c7d4d
replace old-http:// syntax by static-http:// and deprecate the redundant hg://
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 14 Jun 2006 21:53:42 +0200 |
parents | 2a676ad52c22 |
children | d22d730c96ed |
comparison
equal
deleted
inserted
replaced
2430:4ccd71b83d5e | 2431:d90a9d7c7d4d |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 http_proxy= hg clone old-http://localhost:20059/ copy | 3 http_proxy= hg clone static-http://localhost:20059/ copy |
4 echo $? | 4 echo $? |
5 ls copy 2>/dev/null || echo copy: No such file or directory | 5 ls copy 2>/dev/null || echo copy: No such file or directory |
6 | 6 |
7 # This server doesn't do range requests so it's basically only good for | 7 # This server doesn't do range requests so it's basically only good for |
8 # one pull | 8 # one pull |
29 hg commit -m"test" -d "1000000 0" | 29 hg commit -m"test" -d "1000000 0" |
30 hg tip | 30 hg tip |
31 | 31 |
32 cd .. | 32 cd .. |
33 | 33 |
34 http_proxy= hg clone old-http://localhost:20059/remote local | 34 http_proxy= hg clone static-http://localhost:20059/remote local |
35 | 35 |
36 cd local | 36 cd local |
37 hg verify | 37 hg verify |
38 cat bar | 38 cat bar |
39 http_proxy= hg pull | 39 http_proxy= hg pull |