You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Hunkel, Manfred" <M....@t-systems.com> on 2005/07/01 06:57:42 UTC

RE: Symlinks with umlauts

| -----Ursprüngliche Nachricht-----
| Von: Tobias Grimm [mailto:listaccount@e-tobi.net]
| Gesendet: Donnerstag, 30. Juni 2005 21:20
| An: users@subversion.tigris.org
| Betreff: Re: Symlinks with umlauts
| 
| Michael Klemm schrieb:
| 
| > In 1.2.0 there's the same problem:
| >
| >faui20c [/srv/svn/tmp/test] [25]> touch "äöü"
| >faui20c [/srv/svn/tmp/test] [26]> ln -s äöü umlaut
| >faui20c [/srv/svn/tmp/test] [27]> svn add umlaut
| >
| >
| 
| This works for me! But not this:
| 
| $ touch umlaut
| $ ln -s umlaut "äöüß"
| $ svn add "äöüß"
| A         äöüß
| $ svn ci -m"test"
| Hinzufügen     äöüß
| Übertrage Daten .svn: Übertragen fehlgeschlagen (Details folgen):
| svn: Can't read contents of link: Datei oder Verzeichnis nicht gefunden
| 
| ("Datei oder Verzeichnis nicht gefunden" = "File or Directory not found")


I can corroborate this (SVN 1.1.4, built on NetBSD 1.6.2)

Note that my locale has LC_CTYPE=de_DE.ISO8859-1 and actions
dealing with regular files with umlauts in their names work fine...

-----------------8<----------------------------->8------------------
root@w4de3dsy0000310 /usr/var/svn/tmp/trunk# echo $LC_CTYPE
de_DE.ISO8859-1root@w4de3dsy0000310 /usr/var/svn/tmp/trunk# touch umlaut
root@w4de3dsy0000310 /usr/var/svn/tmp/trunk# ln -s umlaut "äöüß"
root@w4de3dsy0000310 /usr/var/svn/tmp/trunk# svn add "äöüß"
A         äöüß
root@w4de3dsy0000310 /usr/var/svn/tmp/trunk# svn ci -m"test"
Adding         äöüß
Transmitting file data ./usr/pkgsrc_distfiles/manually-built/subversion-1.1.4/subversion/libsvn_client/commit.c:765: (apr_err=2)
svn: Commit failed (details follow):
/usr/pkgsrc_distfiles/manually-built/subversion-1.1.4/subversion/libsvn_subr/io.c:365: (apr_err=2)
svn: Can't read contents of link: No such file or directory
-----------------8<----------------------------->8------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Symlinks with umlauts

Posted by Tobias Grimm <li...@e-tobi.net>.
Saulius Grazulis schrieb:

>Uffff... your example works on my machine, both with
LC_CTYPE=de_DE.ISO8859-1,
>LC_ALL=de_DE.ISO8859-1, bdb backend...
> 
>

I don't use bdb, but I think it's a client, not a server problem.

>What about libc version? Maybe that one is a culprit? Which libc does
NetBSD
>1.6.2 use?
> 
>

I'm running Debian/Sarge with version 2.3.2.ds1-22 of libc6.

Tobias


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Symlinks with umlauts

Posted by Saulius Grazulis <gr...@akl.lt>.
On Friday 01 July 2005 09:57, Hunkel, Manfred wrote:

> | $ svn ci -m"test"
> | Hinzufügen     äöüß
> | Übertrage Daten .svn: Übertragen fehlgeschlagen (Details folgen):
> | svn: Can't read contents of link: Datei oder Verzeichnis nicht gefunden
> |
> | ("Datei oder Verzeichnis nicht gefunden" = "File or Directory not found")
>
> I can corroborate this (SVN 1.1.4, built on NetBSD 1.6.2)
>
> Note that my locale has LC_CTYPE=de_DE.ISO8859-1 and actions
> dealing with regular files with umlauts in their names work fine...

Uffff... your example works on my machine, both with LC_CTYPE=de_DE.ISO8859-1, 
LC_ALL=de_DE.ISO8859-1, bdb backend...

What about libc version? Maybe that one is a culprit? Which libc does NetBSD 
1.6.2 use?

Mine is:

saulius@kolibris: wc/ > /lib/libc.so.6 
GNU C Library 20041102 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, 
pie-8.7.7.1).
Compiled on a Linux 2.4.22 system on 2005-04-02.
...

saulius@kolibris: wc/ > uname -a
Linux kolibris 2.4.28-gentoo-r8 #1 Sun May 8 07:22:28 EEST 2005 i686 ...

Actually, I am planning to move all our computers to UTF-8 locale, so it is 
important for me to know what problems can occur...

-- 
Saulius Gražulis

Visuomeninė organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)

tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366