[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

problem with r11262

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-10-07 17:32:04 CEST

Log message says:

------------------------------------------------------------------------
r11262 | lundblad | 2004-10-06 15:53:59 -0500 (Wed, 06 Oct 2004) | 7
lines
Changed paths:
    M /trunk/subversion/libsvn_ra_local/split_url.c

Fix issue #2012, allow URI-encoded drive letter an colon or pipe
character
for ra_local URLs on Win32.

* libsvn_ra_local/split_url.c (svn_ra_local__split_URL): URI-decode the
path
   before checking for drive followed by : or |, so that this part can be
   URI_encoded.

------------------------------------------------------------------------

But this seems to have broken my win32 nightly tests.
The initial import is choking:

------------------
START: basic_tests.py
CMD: svnadmin.exe "create" "local_tmp\repos" "--bdb-txn-nosync" <TIME
= 1.860000>
CMD: svn.exe "import" "--username" "jrandom" "--password" "rayjandom"
"-m" "Log message for revision 1." "local_tmp\greekfiles"
"file:///D:/svnbuild/src-trunk/Release/subversion/tests/clients/
cmdline/local_tmp/repos"
"--config-dir"
"D:\svnbuild\src-
trunk\Release\subversion\tests\clients\cmdline\local_tmp\config"
<TIME = 0.828000>
svn: Unable to open an ra_local session to URL
svn: Unable to open repository
------------------

It looks like our parsing of win32 drive letters no longer works:

---------------

D:\svnbuild\distributions\svn-win32-trunk\bin>.\svnadmin create d:\repos

D:\svnbuild\distributions\svn-win32-trunk\bin>.\svn ls file:///D:/repos
svn: URL 'file:///D:/repos' non-existent in that revision

D:\svnbuild\distributions\svn-win32-trunk\bin>.\svn ls
"file:///D|/repos"
svn: URL 'file:///D%7C/repos' non-existent in that revision

D:\svnbuild\distributions\svn-win32-trunk\bin>.\svn ls
"file:///D:/repos"
svn: URL 'file:///D:/repos' non-existent in that revision

---------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 7 17:33:18 2004

This is an archived mail posted to the Subversion Dev mailing list.