Svn diff: file marked as binary type

file-typesvn

I'm doing an svn diff on one of my files and svn is detecting it as a binary type. The file is readable plain text and I would like to be able to get a diff of this file. How do I tell SVN that this is not a binary file?

Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Best Answer

You can get diff even for a file marked as binary by using --force.

svn diff --force path/to/file

Related Topic