Mercurial > hg
comparison tests/test-http @ 9506:49b62395e910
streamclone: partially encode filename over the wire, not for local read (issue1847)
(Fixes issue1847, which was introduced by 810387f59696: stream clone
of a repo with directory named *.d failed: server raises exception
"IOError: [Errno 2] No such file or directory:
/tmp/test/.hg/store/data/foo.d.hg.hg/foo".)
author | Greg Ward <greg-hg@gerg.ca> |
---|---|
date | Wed, 30 Sep 2009 16:08:11 -0400 |
parents | 6c82beaaa11a |
children | d4a62b6d4a58 |
comparison
equal
deleted
inserted
replaced
9505:28b089ae4001 | 9506:49b62395e910 |
---|---|
3 cp "$TESTDIR"/printenv.py . | 3 cp "$TESTDIR"/printenv.py . |
4 | 4 |
5 hg init test | 5 hg init test |
6 cd test | 6 cd test |
7 echo foo>foo | 7 echo foo>foo |
8 mkdir foo.d foo.d/bAr.hg.d foo.d/baR.d.hg | |
9 echo foo>foo.d/foo | |
10 echo bar>foo.d/bAr.hg.d/BaR | |
11 echo bar>foo.d/baR.d.hg/bAR | |
12 | |
8 hg commit -A -m 1 | 13 hg commit -A -m 1 |
9 hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=../hg1.pid | 14 hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=../hg1.pid |
10 hg serve -p $HGPORT1 -d --pid-file=../hg2.pid | 15 hg serve -p $HGPORT1 -d --pid-file=../hg2.pid |
11 # Test server address cannot be reused | 16 # Test server address cannot be reused |
12 hg serve -p $HGPORT1 2>&1 | sed -e "s/abort: cannot start server at ':$HGPORT1':.*/abort: cannot start server at ':20060':/" | 17 hg serve -p $HGPORT1 2>&1 | sed -e "s/abort: cannot start server at ':$HGPORT1':.*/abort: cannot start server at ':20060':/" |