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

Evil UTF-8 Character in filename in repo causing issues on my wc

From: Geoff Hoffman <ghoffman_at_cardinalpath.com>
Date: Tue, 14 Jun 2011 16:24:46 -0700

I have a file with some (I believe) Portuguese characters in the filename
that someone managed to store in the repo without any problem, and I checked
it out without issues, too. However, now on my working copy, it thinks that
file is locally new.

I did an svn copy ok, but I can't seem to delete the evil one.

Thinking I can probably whack the directory completely and rebuild it, but
thought I'd mention it because I'm not sure if its a bug or a misconfigured
SVN server / client.

Netbeans is barfing on another one in a different directory:

Can't convert string from native encoding to 'UTF-8':
Brazil Air Plus XML Vers?\139o 2.0 .pdf

Even Terminal is having trouble:

MacbookPro:ClearSale geoffh$ ls -la
total 2160
drwxr-xr-x 8 geoffh staff 272 Jun 14 16:09 .
drwxr-xr-x 6 geoffh staff 204 Jun 13 21:26 ..
drwxr-xr-x 7 geoffh staff 238 Jun 14 16:09 .svn
-rw-r--r-- 1 geoffh staff 705463 Jun 13 21:26 Integration_Manual_2.3.pdf
-rw-r--r-- 1 geoffh staff 127377 Jun 14 16:09
Manual_Integração_A_T-ClearSale_2.0.pdf
MacbookPro:ClearSale geoffh$ svn delete --force
Manual_Integração_A_T-ClearSale_2.0.pdf
MacbookPro:ClearSale geoffh$ svn status
! Manual_Integração_A_T-ClearSale_2.0.pdf
MacbookPro:ClearSale geoffh$ ls -la
total 1904
drwxr-xr-x 7 geoffh staff 238 Jun 14 16:11 .
drwxr-xr-x 6 geoffh staff 204 Jun 13 21:26 ..
drwxr-xr-x 7 geoffh staff 238 Jun 14 16:11 .svn
-rw-r--r-- 1 geoffh staff 705463 Jun 13 21:26 Integration_Manual_2.3.pdf
-rw-r--r-- 1 geoffh staff 127377 Jun 14 16:04
Manual_Integracao_A_T-ClearSale_2.0.pdf
MacbookPro:ClearSale geoffh$ svn status
! Manual_Integração_A_T-ClearSale_2.0.pdf
MacbookPro:ClearSale geoffh$ svn commit . -m "Fixing evil PDF"
MacbookPro:ClearSale geoffh$ svn status
! Manual_Integração_A_T-ClearSale_2.0.pdf
MacbookPro:ClearSale geoffh$

Now in NetBeans I get:

/Users/geoffh/Sites/zupper.ghoffman/external_docs/ClearSale/Manual_Integrac?a?o_A_T-ClearSale_2.0.pdf:
 (Not a versioned resource)

A problem occurred; see other errors for details

If I svn up it restores the evil file:

MacbookPro:ClearSale geoffh$ svn up
Restored 'Manual_Integração_A_T-ClearSale_2.0.pdf'
At revision 681.

Basically I can't delete or svn delete the offending file and successfully
commit.

Running Subversion 1.6.11 on RHEL 5.6
Received on 2011-06-15 01:25:25 CEST

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.