No Ruby source diffs shown in svn checkins

Thiago Macieira thiago at kde.org
Sat May 21 15:01:28 BST 2005


Richard Dale wrote:
>On Saturday 21 May 2005 14:45, Harri Porten wrote:
>> What does
>>
>>   svn propget svn:mime-type korundum.rb

>I get:
>
>application/x-ruby
>
>So it thinks it's an executable. Could it look at the execute permission
> in the svn, and treat it as source or not according to that? Maybe file
> permissions aren't kept in subversion, I don't know much about it.

No, the executable part is the svn:executable property. It has nothing to 
do with the MIME type.

However, the MIME type of anything that isn't text/* makes Subversion 
refuse to show diffs, instead relying on binary diffs internally. So, 
just fix the MIME type for every file you see that is wrong.

-- 
  Thiago Macieira  -  thiago (AT) macieira (DOT) info
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde 
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050521/ca3f145b/attachment.sig>


More information about the kde-core-devel mailing list