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

Re: Ignoring directories with foreign characters

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-10-10 11:06:51 CEST

"Ian Brockbank" <Ian.Brockbank@wolfsonmicro.com> writes:
> I have a test output directory testing my handling of Unicode characters, and
> I'd like to ignore it. So I added it to svn:ignore...or so I thought. I
> originally added it with Tortoise, but it wasn't getting hidden. To see what
> was going on, I did
>
> svn pe svn:ignore .
>
> Up popped notepad, scan down to the directory in question. Instead of 新建文件
> 夹 I had ?????. So I set it back to what it should be and saved. Notepad
> prompted me to change from ASCII encoding so that the characters would be
> supported. I tried both UTF-8 and Unicode, and got
>
> No changes to property 'svn:ignore' on '.'
>
> But when I do an svn st, I still get the directory appearing (as _____).
>
> How can I ignore this directory?

Try putting the desired property value into a file (in UTF8 encoding)
and setting it using

   $ svn propset svn:ignore --encoding UTF8 -F FILENAME DIRNAME

(I haven't tested this, just hypothesizing...)

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 10 11:07:13 2007

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.