From owner-freebsd-ports@FreeBSD.ORG Sat Mar 23 13:53:32 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3721DD1D for ; Sat, 23 Mar 2013 13:53:32 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward3h.mail.yandex.net (forward3h.mail.yandex.net [IPv6:2a02:6b8:0:f05::3]) by mx1.freebsd.org (Postfix) with ESMTP id E27946E5 for ; Sat, 23 Mar 2013 13:53:31 +0000 (UTC) Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [84.201.186.20]) by forward3h.mail.yandex.net (Yandex) with ESMTP id 24B171361E4B; Sat, 23 Mar 2013 17:53:30 +0400 (MSK) Received: from smtp3h.mail.yandex.net (localhost [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id D03C91B4092C; Sat, 23 Mar 2013 17:53:29 +0400 (MSK) Received: from unknown (unknown [178.76.224.133]) by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id rTFekCDi-rTFuCYYu; Sat, 23 Mar 2013 17:53:29 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1364046809; bh=AVDUe21x21uxtRCn2/ebIpqR5DxEMrpxOtKy++o0yt4=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=VfivvsjdgLjkKt8sGjxaatSJUDYIEhHqfiE/kdb0eBG7ou0DJclPUjZ7ttD4wjFSn vjOrG2NVPws9wTOlu87RQiBgVnT+E/0g1Nqzqs1sVNcK4S1OTokjJJZR3R843ULjeM 5SbUK+BqjZZc9oOtlR96VBD59mM/n8J3Xm42ZR8c= Message-ID: <514DB3B9.1070307@yandex.ru> Date: Sat, 23 Mar 2013 17:52:57 +0400 From: Ruslan Makhmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Diane Bruce Subject: Re: Fwd: Problem with svn properties on non-ascii file References: <514DAC37.2010909@yandex.ru> <514DACAE.5040401@yandex.ru> <20130323134456.GA42602@night.db.net> In-Reply-To: <20130323134456.GA42602@night.db.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:53:32 -0000 Diane Bruce wrote on 23.03.2013 17:44: > On Sat, Mar 23, 2013 at 05:22:54PM +0400, Ruslan Makhmatkhanov wrote: >> >> >> -------- 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 >> >> Hi, >> >> I'm trying to commit update to deskutils/gourmet, that have this patch file: >> https://github.com/thinkle/gourmet/commit/9ad4df6f1387df10d3bd79752cfb6fbf0c285fa4 >> >> 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): > > That mime-type is clearly wrong if it is a binary file > > http://svnbook.red-bean.com/en/1.7/svn.advanced.props.file-portability.html#svn.advanced.props.special.mime-type > > If you are using psvn it forces a mime type of text which is wrong in this case. > ${SVN} -q propset svn:mime-type text/plain ${_file} > > You'll have to manually make sure this file has the right properties > and commit with svn not psvn. > - Diane Thanks for you response, Diane. It's not binary, it's a text with UTF-8 characters in it, so fbsd:notbinary fixed it. -- Regards, Ruslan Tinderboxing kills... the drives.