I just started to use SVK to create a personal mirror and local branches of the Scheme 48 Subversion repository. I’ve created a local branch, added some files and committed the changes. Then, strange things started to happen. First thing I noticed:
[0 knauel@albert bla] svk diff benv.scm
=== benv.scm
==================================================================
Cannot display: file marked as a binary type.
For some reason, svk (or svn?) thinks that my Scheme source file is a binary file. However, svk (or svn?) doesn’t seem to be completly unaware of files ending with scm. The files marked as “binary” had an svn:mime-type property:
[1 knauel@albert bla] svk proplist benv.scm
Properties on benv.scm:
svn:mime-type
[0 knauel@albert bla] svk propget svn:mime-type benv.scm
Lisp/Scheme program text
Sounds reasonable, but also seems to be the reason for the trouble. After removing this property, svk no longer regards the file as being binary. However, I can’t diff the current version of my file to the older versions marked as binary. My solution for now is to be very careful when adding files: always ensure that there is no svn:mime-type is set.
Technorati Tags: Scheme 48, Scheme, Subversion, SVK