I can repoduse this in w2k with [svn version 0.33.1 (r7789)]
...
Committed revision 2.
C:\temp>svn ls file:///c:/temp/svn%20repo/path%20is%20here/repo/trunk
a%20b/
but not in linux with [svn version 0.35.0 (dev build)]
...
Committed revision 2.
a b/
Could someone test this in windows with newer client please:
linux:
mkdir -p 'svn repo/path is here'
svnadmin create 'svn repo/path is here/repo'
svn mkdir -m "" file://`pwd`/svn%20repo/path%20is%20here/repo/trunk
mkdir a
svn import -m "" a file://`pwd`/svn%20repo/path%20is%20here/repo/trunk/a%20b
svn ls file://`pwd`/svn%20repo/path%20is%20here/repo/trunk
Windows (put in bat-file, run in c:\temp):
mkdir "svn repo/path is here"
svnadmin create "svn repo/path is here/repo"
svn mkdir -m ""
file:///c:/temp/svn%%20repo/path%%20is%%20here/repo/trunk
mkdir a
svn import -m "" a file:///c:/temp/svn%%20repo/path%%20is%%20here/repo/trunk/a%%20b
svn ls file:///c:/temp/svn%%20repo/path%%20is%%20here/repo/trunk
Br, Jani
On 2003-12-19 14:49-0500, Bob Peterson wrote:
> Is the following a bug, or am I misunderstanding how SVN processes URLs? I
> expected hex escapes (%xx) in URLs to be consistently processed before the
> URL is processed internally.
>
> The problem is illustrated with the command:
> svn -m "" import "Brown Book-orig"
> file:///c:/Documents%20and%20Settings/bob/My%20Documents/Projects/repo/src/trunk/a%20b
>
> Using
> svn list -r
> file:///c:/Documents%20and%20Settings/bob/My%20Documents/Projects/repo
> shows the repository folder that was created has five characters, not three
> ("a%20b" instead of "a b").
>
> So, why are the %20 hex escapes in the path are correctly processed, but the
> final name component, a%20b, is not unescaped. Yet if I try to submit a
> quoted URI, I get an error:
>
> C:\Documents and Settings\bob\My Documents\Projects>svn -m "" import "Brown
> Book
> -orig"
> "file:///c:/Documents%20and%20Settings/bob/My%20Documents/Projects/repo/s
> rc/trunk/a b"
> svn: Bogus URL
> svn: URL
> 'file:///c:/Documents%20and%20Settings/bob/My%20Documents/Projects/repo
> /src/trunk/a b' is not properly URI-encoded
>
> \bob peterson
> Memento, Inc.
>
--
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 19 23:01:50 2003