Fwd: Problem with svn properties on non-ascii file

Tijl Coosemans tijl at coosemans.org
Sat Mar 23 13:45:07 UTC 2013


On 2013-03-23 14:22, 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 <cvs-src at yandex.ru>
> To: FreeBSD Developers <developers at FreeBSD.ORG>
> 
> 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.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/subversion-primer.html
§3.4.8 Committing High-ASCII Data

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130323/a162aefa/attachment.sig>


More information about the freebsd-ports mailing list