Sometimes, Subversion thinks that a PDF is a text file, instead of binary data. This can hurt during commits or diffs, because Subversion tries to do textual diffs with binary data.
Solution: you can explicitly flag the file as PDF data and Subversion will handle it as binary from then:
svn propset svn:mime-type application/pdf yourPDFfile.pdf
Thanks, saves me headache.
Thanks, saves me headache. We'll have to define "sometime" someday.
Worked like charm
Great piece of advice. Thank you!
It can also be used with wildcards, such as: "svn propset svn:mime-type application/pdf *.pdf"
Post new comment