Directly related: svn diff: file marked as binary type (Per the comment on the answer)
Why would my SVN client mark some files as binary?
Specifically, .sql
has prop svn:mime-type = application/octet-stream
when using TortoiseSVN.
I checked Right-click > Tortoise context menu > Settings > General > Subversion configuration file, and nothing is uncommented in [miscellany]
or [auto-props]
, so where is the decision coming from?
From what I can see in the related posts, I can "fix it" by either deleting the property on affected files, or globally change the behavior on new files via config/setting, but is there a "simple" way to do both for all affected files?
Somewhat related:
mime-type
property (assuming it's defaulting totext/plain
) shows a bunch ofNUL
character garbage every other character. Is my scenario just not applicable? The TortoiseMerge viewer compares it fine... – drzaus.sql
files keep getting uploaded asapplication/octet-stream
when they're clearlytext/plain
, with noauto-props
set. Too bad no one has supplied an answer :( – brazilianldsjaguar