Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/tests/test-http Wed Sep 30 13:15:18 2009 -0500 +++ b/tests/test-http Wed Sep 30 16:08:11 2009 -0400 @@ -5,6 +5,11 @@ hg init test cd test echo foo>foo +mkdir foo.d foo.d/bAr.hg.d foo.d/baR.d.hg +echo foo>foo.d/foo +echo bar>foo.d/bAr.hg.d/BaR +echo bar>foo.d/baR.d.hg/bAR + hg commit -A -m 1 hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=../hg1.pid hg serve -p $HGPORT1 -d --pid-file=../hg2.pid