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

Re: Interesting problem with ":" in mod_dav_svn XML output

From: Kalle Olavi Niemitalo <kon_at_iki.fi>
Date: 2005-10-23 10:01:16 CEST

Michael Sinz <Michael.Sinz@sinz.org> writes:

> There is a very unlikely (not supported in any reasonable way) case
> of a repository file/directory having a "/" in it that would be more correctly
> addressed by using the ap_escape_path_segment form but there is no real benefit
> to even thinking about that since I have no idea how that would be supported
> elsewhere within the system and on the physical platforms. (How would one make
> such a file?)

kalle_at_Astalo:~$ svn info file://localhost/home/kalle/com/subversion/sandbox/trunk/koe
Path: koe
Name: koe
URL: file://localhost/home/kalle/com/subversion/sandbox/trunk/koe
Repository Root: file://localhost/home/kalle/com/subversion/sandbox
Repository UUID: 3cd98347-c503-0410-9c4e-e0ef48c90a53
Revision: 2
Node Kind: file
Last Changed Author: kalle
Last Changed Rev: 2
Last Changed Date: 2005-10-23 08:38:51 +0300 (Sun, 23 Oct 2005)

kalle_at_Astalo:~$ svn cp -m "Test a slash in the file name." file://localhost/home/kalle/com/subversion/sandbox/trunk/koe file://localhost/home/kalle/com/subversion/sandbox/trunk/slashed%2Fname
/home/kalle/src/FOREIGN-SVK/svn/subversion/libsvn_repos/commit.c:399: (apr_err=160016)
svn: Path 'slashed' not present

I think this is a bug. If Subversion does not allow slashes in
file names, it should say so in the error message, rather than
treat %2F as a directory separator.

  • application/pgp-signature attachment: stored
Received on Sun Oct 23 09:55:13 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.