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

filename preventing commit's and add's...

From: Attila Horvath <mutsuura_at_mutsuura.com>
Date: 2006-04-03 18:43:51 CEST

...

---------- Forwarded message ----------
Date: Mon, 3 Apr 2006 12:42:16 -0400
From: Attila Horvath <AHorvath@tscwo.com>
To: "'attila.j.horvath@mutsuura.com'" <attila.j.horvath@mutsuura.com>
Subject: filename preventing commit's and add's...

All

I get what seems like a bogus error when I try to "import", or "add", a file
with odd characters in it's name as shown here:

$ svnadmin create d:/_SVN_/sample_proj

AHorvath@AHorvath /cygdrive/c/temp/test

$ cd sample_proj/

AHorvath@AHorvath /cygdrive/c/temp/test/sample_proj

$ ls -al

total 112

drwxr-xr-x+ 2 AHorvath mkpasswd 0 Apr 3 12:12 .

drwxr-xr-x+ 3 AHorvath mkpasswd 0 Apr 3 12:12 ..

-rwxr-xr-x 1 AHorvath mkpasswd 111808 Aug 17 2005 Evolutionary Acquisition
and Spiral Development - Aug ?2002.pdf

AHorvath@AHorvath /cygdrive/c/temp/test/sample_proj

$ svn import . file:///cygdrive/d/_SVN_/sample_proj/

svn: Can't convert string from native encoding to 'UTF-8':

svn: Evolutionary Acquisition and Spiral Development - Aug ?\1602002.pdf

svn: Your commit message was left in a temporary file:

svn: 'svn-commit.tmp'

If I rename the file and repeat the command it works fine:

$ ls -al

total 113

drwxr-xr-x+ 2 AHorvath mkpasswd 0 Apr 3 12:20 .

drwxr-xr-x+ 3 AHorvath mkpasswd 0 Apr 3 12:12 ..

-rwxr-xr-x 1 AHorvath mkpasswd 111808 Apr 3 12:16 Evolutionary Acquisition
and Spiral Development.pdf

$ svn import . file:///cygdrive/d/_SVN_/sample_proj/

Adding (bin) Evolutionary Acquisition and Spiral Development.pdf

Committed revision 1.

Is there an option that allows SVN to accept virtually any file? Currently
I'm WINZIPping the file to circumvent the problem.

Thx Attila

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 3 18:45:06 2006

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.