我不知道为什么我在文件状态中得到 (bin) - 我检查了文件并且没有特殊字符。添加和提交有效,文件可能没问题,但我只是觉得这很奇怪。
请您参考如下方法:
来自 http://subversion.apache.org/faq.html#binary-files
Subversion treats the following files as text:
- Files with no svn:mime-type
- Files with a svn:mime-type starting "text/"
- Files with a svn:mime-type equal to "image/x-xbitmap"
- Files with a svn:mime-type equal to "image/x-xpixmap"
All other files are treated as binary, meaning that Subversion will:
- Not attempt to automatically merge received changes with local changes during svn update or svn merge
- Not show the differences as part of svn diff
- Not show line-by-line attribution for svn blame
检查您的文件扩展名/关联的 MIME 类型。你可以通过在
svn:mime-type 上做一个 propset 来强制它变成文本。与系统关联的 MIME 类型不同。


