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

Re: Symlinks with russian letters don't work

From: <kfogel_at_collab.net>
Date: 2005-01-14 18:56:06 CET

I think your analysis makes sense -- can you resend this to the dev@
list and we'll take it from there?

Vladimir Prus <ghost@cs.msu.su> writes:
> Hello, it seems like symlinks with Russian letters can't be committed at the
> moment. I'm using svn, version 1.1.1 (r11581), from the Debian package..
>
> Here's a sequence of commands which lead to an error.
>
> $ svnadmin create /tmp/repo
> $ mkdir test
> $ cd test
> $ touch a
> $ svn import . file:///tmp/repo -m "Import"
> Adding a
>
> Committed revision 1.
> ghost@zigzag:/tmp/x/test$ cd ..
> ghost@zigzag:/tmp/x$ rm -rf test
> ghost_at_zigzag:/tmp/x$ svn co file:///tmp/repo test
> A test/a
> Checked out revision 1.
> $ cd test
> $ ln -s a ÛØÝÚ
> $ svn add ÛØÝÚ
> A ÛØÝÚ
> ghost@zigzag:/tmp/x/test$ svn ci -m "Added link"
> Adding ÛØÝÚ
> Transmitting file data .svn: Commit failed (details follow):
> svn: Can't read contents of link: No such file or directory
>
> The "ÛØÝÚ" is a russian word. It's typed in the local encoding (KOI8-R) and
> the LC_CTYPE environment variable is LC_CTYPE=ru_RU.KOI8-R, which is correct.
>
> Any ideas what's going on?
>
> Looking at the code, I suspect that there's missing call to the
> 'svn_path_cstring_from_utf8' function in the svn_io_read_link, but I'm not
> sure about it.
>
> - Volodya
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 14 19:21:31 2005

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.