Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2013 17:52:57 +0400
From:      Ruslan Makhmatkhanov <cvs-src@yandex.ru>
To:        Diane Bruce <db@db.net>
Cc:        FreeBSD Ports Mailing List <ports@freebsd.org>
Subject:   Re: Fwd: Problem with svn properties on non-ascii file
Message-ID:  <514DB3B9.1070307@yandex.ru>
In-Reply-To: <20130323134456.GA42602@night.db.net>
References:  <514DAC37.2010909@yandex.ru> <514DACAE.5040401@yandex.ru> <20130323134456.GA42602@night.db.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <cvs-src@yandex.ru>
>> To: FreeBSD Developers <developers@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):
>
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?514DB3B9.1070307>