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

Re: Can't recode string

From: John Williams <williams_at_tni.com>
Date: 2004-10-08 04:22:31 CEST

I found issues #1847 and #1946 on this subject.
Both of these have been marked invalid, the second merely
because it was not discussed on this list.

The problem is that svn is not able to handle characters in
the filename which do not match the current LANG character set,
or are not valid UTF-8 characters, if LANG is not set.

Issue #1847 asserts that this is not a subversion issue.
I wish to dispute that.

1) Subversion claims to be able to handle binary data.
   But this problem shows that it cannot handle binary data
   in the filename, even when the host OS allows it.

2) If a project has filenames in more than one character set,
   I don't think it is the revision control system's place
   to disallow that. A revision control system should be able
   to accept any file, and give it back in exactly the same way.

3) This error causes "svn status" to abort, not reporting the
   status of the remaining files.

4) This error causes "svn add" to abort, leaving the directory
   in some sort of half-baked state, which svn revert will not revert.

Even if 1 and 2 are disputed, surely there must be a more
graceful way to handle the error, such as skipping the file,
or rolling back the transaction.

~ John Williams

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 8 04:23:03 2004

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.