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

Solving problem with space in file names

From: <tech_at_bbschk.com>
Date: Mon, 3 Feb 2014 16:33:12 +0100

Adding a file with a space in the file name and committing it works fine,
however any subsequent edit and commit of this file will fail with:

"Error: Delta source ended unexpectedly"

A file with identical content and name, except with no space in the file
name, works perfectly, I can edit and commit to my heart's content.

The TortoiseSVN user group is sure this stems from subversion itself, and
after reading through this mailing list, it seems this problem may be due to
the Apache version on my system, which happen to be Apache 2.2.25, which as
I understand it has a problem in the mod_dav module that makes it impossible
to succeed with a second commit for files with spaces in the name?

 

I am wondering if there is a simple way to solve this if without having to
compile a new mod_dav or trying to find another version of Apache? Since I
am running OpenIndiana I am simply using the apache that is supplied, and no
other version seem to be easily installed. I tried the OpenCSW version,
which is 2.2.22, but I get segmentation faults when using the same setup
(SVN over web_dav, authentication using PostgreSQL).

If the below problem is indeed due to the problematic web_dav, is there a
pre-compiled web_dav with the patch suggested in another thread here? This
is getting desperate, since I have thousands of files in SVN, many with
spaces in the file names, since before upgrading to OpenIndiana.

 

 

My problem, for reference.

I'm using:
TortoiseSVN 1.8.4, Build 24972 - 64 Bit
on Windows 7 Ultimate (64 bit)

and to reproduce:

1. Create a folder in any repository
2. Add a new Word document called "Test Name.docx"
3. Add content
4. Add to SVN and commit (works fine so far)
5. Edit file
6. Try to commit (gives "Delta source ended unexpectedly")

The above causes errors on all my 3 Windows machines, regardless of which
repository I use. Trying the same steps using the file name "TestName.docx"
or even "Test_Name.docx" will NOT cause the error, leaving me to conclude
the space in the file name is problematic.
I have verified this repeatedly, in as many variations as I can think of.

The SVN server is version 1.6.5, running on OpenIndiana (open source
Solaris, which unfortunately does not have a more recent version in their
repository, AFAIK), Apache 2.2.25 serving SVN through web_dav.

 

Thanks!

/Claes

 
Received on 2014-02-03 16:40:05 CET

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

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