Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4599499E4 for ; Wed, 1 Feb 2012 13:16:17 +0000 (UTC) Received: (qmail 41395 invoked by uid 500); 1 Feb 2012 13:16:15 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 40653 invoked by uid 500); 1 Feb 2012 13:16:14 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 40646 invoked by uid 99); 1 Feb 2012 13:16:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 13:16:13 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL,TO_NO_BRKTS_PCNT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [207.126.144.111] (HELO eu1sys200aog101.obsmtp.com) (207.126.144.111) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 13:16:05 +0000 Received: from UKHC-SMTP.dps.local ([64.212.99.80]) by eu1sys200aob101.postini.com ([207.126.147.11]) with SMTP ID DSNKTyk7Aa+1GTK15OmadBCaW+fOTXgaKZxX@postini.com; Wed, 01 Feb 2012 13:15:45 UTC Received: from DESA-Exchange.emea.dps.local (desa-exchange.emea.dps.local [192.168.55.10]) by UKHC-SMTP.dps.local (Postfix) with ESMTP id 5FD96126940 for ; Wed, 1 Feb 2012 12:47:13 +0000 (GMT) Received: from [192.168.55.70] ([192.168.55.70]) by DESA-Exchange.emea.dps.local with Microsoft SMTPSVC(6.0.3790.4675); Wed, 1 Feb 2012 13:47:13 +0100 Message-ID: <4F293451.6000102@dominolaser.com> Date: Wed, 01 Feb 2012 13:47:13 +0100 From: Ulrich Eckhardt Reply-To: SVN users Organization: Domino Laser GmbH User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: users@subversion.apache.org Subject: Re: check-mime-type, Windows client, non-ASCII path References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 01 Feb 2012 12:47:13.0177 (UTC) FILETIME=[9EB32090:01CCE0DF] X-Virus-Checked: Checked by ClamAV on apache.org Am 01.02.2012 09:00, schrieb Ignacio Gonz�lez (Eliop): > Clients: Windows-XP, Windows 7, svn 1.6.16 (Spanish) Just to make sure, are you using a native MS Windows client or are you using Cygwin? Also, the clients differ slightly depending on the distribution, it would be helpful to have those, too. > Path name (in Windows, client): C:\Usuarios\arenero\In�til.TXT > (note the u with an acute accent: �) > > C:\Usuarios\arenero>svn ci acentos -m "Prueba 1" > Adding acentos > Adding acentos\In�til.TXT Hmmm. Here something already failed, the accented u changed to a pound sign. Or is that just a transmission error, caused by email? > Transmitting file data .svn: Commit failed (details follow): > svn: Commit blocked by pre-commit hook (exit code 1) with output: > /opt/csvn/data/repositories/telecontrol/hooks/check-mime-type: > `/opt/csvn/bin/sv > nlook proplist /opt/csvn/data/repositories/arenero -t 44-1e --verbose > acentos/In > ?\195?\186til.TXT' failed with this output: > svnlook: Path 'acentos/In?\195?\186til.TXT' does not exist Just for the record, I guess the ?\195?\186 could be a representation derived from the byte values of UTF-8, but I haven't verified that. What I'm not 100% sure is whether that is a fault in the hook script and how it handles those arguments. It would be interesting to know if this works with the hook script active. > To help diagnose it, I tried to check out an already existing file with > accents in its name (checked in before the Hook "check-mime-type" (bash) > was added in the server). > Check out fails. That shouldn't happen, no matter what the hook scripts say. What exactly is the error? What is the name of the file? The only reason I could imagine is when you somehow got a path into the repository that is invalid UTF-8. While checking out that path, the client would then try to transcode the UTF-8 to MS Windows' native UTF-16 and fail. I believe some older SVNs relied on the client sending well-formed UTF-8, instead of validating it server-side. With the client being less than perfect, this could then lead to invalid paths. How old is your repository? Can you back it up and run svnadmin verify on it? That said, I have been using lots of different characters (extended Latin, Greek, Chinese, Japanese, Indian) inside a Linux-hosted repo, accessed via svnserve by clients on MS Windows XP and 7 without any issues. The warning by Nico IMHO only applies if you want to share working copies between different systems, which is discouraged anyway, but those problems are actually not specific to SVN. Uli ************************************************************************************** Domino Laser GmbH, Fangdieckstra�e 75a, 22547 Hamburg, Deutschland Gesch�ftsf�hrer: Thorsten F�cking, Amtsgericht Hamburg HR B62 932 ************************************************************************************** Visit our website at http://www.dominolaser.com ************************************************************************************** Diese E-Mail einschlie�lich s�mtlicher Anh�nge ist nur f�r den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empf�nger sein sollten. Die E-Mail ist in diesem Fall zu l�schen und darf weder gelesen, weitergeleitet, ver�ffentlicht oder anderweitig benutzt werden. E-Mails k�nnen durch Dritte gelesen werden und Viren sowie nichtautorisierte �nderungen enthalten. Domino Laser GmbH ist f�r diese Folgen nicht verantwortlich. **************************************************************************************