Code

t9010 (svn-fe): use Unix-style path in URI
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 14 Aug 2010 00:04:50 +0000 (19:04 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 15 Aug 2010 02:35:38 +0000 (19:35 -0700)
commit24f1136894b6db0a21b7b89a77da2ae2909487e9
tree63a35c5342fa31d2da36a57c3c6852e043480422
parent6117abae569e53485f7a90d2595b135c7beb3c96
t9010 (svn-fe): use Unix-style path in URI

Ever since v1.6.3-rc0~101^2~14 (Tests on Windows: $(pwd) must return
Windows-style paths, 2009-03-13), there is a subtle difference between
$(pwd) and $PWD in tests: the former returns Windows-style paths as
might be output by git and the latter Unix-style paths which msys
programs tend to prefer.

In file:// URIs, Unix-style paths are needed.  Before: “svn export”
declares it cannot find

 file://c:/apps/git/git/t/trash directory/simple-svco

After: “svn export” successfully finds

 file:///c/apps/git/git/...

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9010-svn-fe.sh