From owner-freebsd-ports@FreeBSD.ORG Sat Mar 23 13:45:07 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 05EDE92E for ; Sat, 23 Mar 2013 13:45:07 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay006.isp.belgacom.be (mailrelay006.isp.belgacom.be [195.238.6.172]) by mx1.freebsd.org (Postfix) with ESMTP id 97F0F679 for ; Sat, 23 Mar 2013 13:45:06 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjANAIiwTVFbs6MW/2dsb2JhbABDgkcIhWS9OoFsF3SCJAEBBSMzIgEQCQIOAwMBAgEJFgsCAgkDAgECAScWCAYNAQUCAQEFh3kDEwiUIZsEkhSPBxEHBoIngRMDj0OBKJcAgws7gS4k Received: from 22.163-179-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.179.163.22]) by relay.skynet.be with ESMTP; 23 Mar 2013 14:43:55 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.6/8.14.6) with ESMTP id r2NDht0b001878; Sat, 23 Mar 2013 14:43:55 +0100 (CET) (envelope-from tijl@coosemans.org) Message-ID: <514DB195.7060000@coosemans.org> Date: Sat, 23 Mar 2013 14:43:49 +0100 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130315 Thunderbird/17.0.4 MIME-Version: 1.0 To: Ruslan Makhmatkhanov Subject: Re: Fwd: Problem with svn properties on non-ascii file References: <514DAC37.2010909@yandex.ru> <514DACAE.5040401@yandex.ru> In-Reply-To: <514DACAE.5040401@yandex.ru> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2PVFFEUBQSDSHKUPJMWLI" Cc: FreeBSD Ports Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Mar 2013 13:45:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2PVFFEUBQSDSHKUPJMWLI Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2013-03-23 14:22, Ruslan Makhmatkhanov wrote: >=20 >=20 > -------- Original message -------- > Subject: Problem with svn properties on non-ascii file > Date: Sat, 23 Mar 2013 17:20:55 +0400 > From: Ruslan Makhmatkhanov > To: FreeBSD Developers >=20 > Hi, >=20 > I'm trying to commit update to deskutils/gourmet, that have this patch = file: > https://github.com/thinkle/gourmet/commit/9ad4df6f1387df10d3bd79752cfb6= fbf0c285fa4 >=20 > I got this error both with using psvn and manually setting the > properties (svn propset svn:mime-type text/plain > patch-gourmet__defaults__defaults_ru.py): >=20 > """ > "svn-commit.3.tmp" 20L, 883C =D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD= =D0=BE > Sending Makefile > Sending distinfo > Adding files > Adding files/patch-gourmet__defaults__defaults_ru.py > Sending pkg-descr > Sending pkg-plist > Transmitting file data .....svn: E165001: Commit failed (details follow= ): > svn: E165001: Commit blocked by pre-commit hook (exit code 1) with outp= ut: > Path > "head/deskutils/gourmet/files/patch-gourmet__defaults__defaults_ru.py" > contains binary but has svn:mime-type "text/plain" > Try application/* (application/octet-stream) or image/* instead. > =3D=3D Pre-commit problem count: 1 >=20 > svn: E165001: Your commit message was left in a temporary file: > svn: E165001: '/home/rm/learn/free/004/deskutils/svn-commit.3.tmp' > """ >=20 > I believe that the problem is because of utf-8 in patch file. So it's m= e > who should fix something, or there is a problem with the hook itself? > Thanks. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/subv= ersion-primer.html =C2=A73.4.8 Committing High-ASCII Data ------enig2PVFFEUBQSDSHKUPJMWLI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iF4EAREIAAYFAlFNsZoACgkQfoCS2CCgtisSjAD9Gcj1nQKxTIhfUVYtEHHzfET5 KanmVNXkhzw7hpX/vZgA/1nXcE4knR8BS0bh1fad6Cv4qG6Yi53kVCijQLFzNgof =olvD -----END PGP SIGNATURE----- ------enig2PVFFEUBQSDSHKUPJMWLI--