[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-17 07:50:07 CET

[Originally posted to users@, resending this to dev@ per Karl's request]

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: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 17 07:52:05 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.