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

Symlinks with russian letters don't work

From: Vladimir Prus <ghost_at_cs.msu.su>
Date: 2005-01-14 14:11:40 CET

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
Received on Fri Jan 14 18:19:19 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.