From owner-freebsd-ports@FreeBSD.ORG Sat Mar 23 13:23:28 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 9BB7F2EF for ; Sat, 23 Mar 2013 13:23:28 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward1h.mail.yandex.net (forward1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::10]) by mx1.freebsd.org (Postfix) with ESMTP id 51A7D3FE for ; Sat, 23 Mar 2013 13:23:28 +0000 (UTC) Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [84.201.186.20]) by forward1h.mail.yandex.net (Yandex) with ESMTP id 05B609E0EF5 for ; Sat, 23 Mar 2013 17:23:26 +0400 (MSK) Received: from smtp3h.mail.yandex.net (localhost [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id CEC661B406A9 for ; Sat, 23 Mar 2013 17:23:26 +0400 (MSK) Received: from unknown (unknown [178.76.224.133]) by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NQFa8llb-NQFWjREM; Sat, 23 Mar 2013 17:23:26 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1364045006; bh=dbbha5v03XxLsCsL4ur/6ELxFsaz7ZCC1ubtzxXu2oE=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:X-Forwarded-Message-Id:Content-Type: Content-Transfer-Encoding; b=qk2HkmtyvrRssTf2moUHv31cCng/R9wB0rPtC4fyOjUr9DtDgMH5UAR5a+cFFyIZJ 02kPRUZO8+qoLe3z/CALvpFg/f24ltVfHOTS0pLSjSuKzRZeF4CTRwBQ0dp7yf2BpE gIWrkhlXn1ysOy6NTjKT2MXotqIlGbtg+sGNV6ng= Message-ID: <514DACAE.5040401@yandex.ru> Date: Sat, 23 Mar 2013 17:22:54 +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: FreeBSD Ports Mailing List Subject: Fwd: Problem with svn properties on non-ascii file References: <514DAC37.2010909@yandex.ru> In-Reply-To: <514DAC37.2010909@yandex.ru> X-Forwarded-Message-Id: <514DAC37.2010909@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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:23:28 -0000 -------- 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): """ "svn-commit.3.tmp" 20L, 883C записано 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 output: 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. == Pre-commit problem count: 1 svn: E165001: Your commit message was left in a temporary file: svn: E165001: '/home/rm/learn/free/004/deskutils/svn-commit.3.tmp' """ I believe that the problem is because of utf-8 in patch file. So it's me who should fix something, or there is a problem with the hook itself? Thanks. -- Regards, Ruslan Tinderboxing kills... the drives.