views:

46

answers:

0

I have some code which, like java, is stored in a binary format, and I have the applications to display and modify this code setup in the Subversion's config file.

But when I run svn diff for these file, Subversion prevents me

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

I can still view them, but only with the --force argument

Since all the files in the repository are of this binary code, how can I permanently force subversion to open the files for diff or edit mode?

  • Can I configure Subversion to use an application for displaying when it finds a file with application/octet-stream type
  • Or should I manually change all the files in the repository to a text/* mime-type?