It's important that files have the correct MIME type and EOL settings in Subversion. We have a checking script in SVN which makes sure they're set, since if they're not it can cause some problems later. In order to automatically configure these properties, use the 'auto-props' section of your Subversion configuration file (e.g. TortoiseSVN > Settings > Edit - or in ~./subversion/config on Unix/Mac). Here's some suggested settings:
[auto-props] ### The format of the entries is: ### file-name-pattern = propname[=value][;propname[=value]...] ### The file-name-pattern can contain wildcards (such as '*' and ### '?'). All entries which match will be applied to the file. ### Note that auto-props functionality must be enabled, which ### is typically done by setting the 'enable-auto-props' option. *.c = svn:mime-type=text/plain;svn:eol-style=native *.cpp = svn:mime-type=text/plain;svn:eol-style=native *.h = svn:mime-type=text/plain;svn:eol-style=native *.dsp = svn:mime-type=text/plain;svn:eol-style=CRLF *.dsw = svn:mime-type=text/plain;svn:eol-style=CRLF *.sln = svn:mime-type=text/plain;svn:eol-style=CRLF *.vcproj = svn:mime-type=text/plain;svn:eol-style=CRLF *.sh = svn:mime-type=text/plain;svn:eol-style=native;svn:executable *.txt = svn:mime-type=text/plain;svn:eol-style=native *.gif = svn:mime-type=image/gif *.png = svn:mime-type=image/png *.jpg = svn:mime-type=image/jpeg *.dds = svn:mime-type=application/octet-stream *.bmp = svn:mime-type=image/bmp *.in = svn:mime-type=text/plain;svn:eol-style=native *.bat = svn:mime-type=text/plain;svn:eol-style=native *.html = svn:mime-type=text/html;svn:eol-style=native *.xml = svn:mime-type=application/xml;svn:eol-style=native Makefile = svn:mime-type=text/plain;svn:eol-style=native *.cg = svn:mime-type=text/plain;svn:eol-style=native *.material = svn:mime-type=text/plain;svn:eol-style=native *.program = svn:mime-type=text/plain;svn:eol-style=native *.hlsl = svn:mime-type=text/plain;svn:eol-style=native *.glsl = svn:mime-type=text/plain;svn:eol-style=native *.fontdef = svn:mime-type=text/plain;svn:eol-style=native *.particle = svn:mime-type=text/plain;svn:eol-style=native *.script = svn:mime-type=text/plain;svn:eol-style=native *.overlay = svn:mime-type=text/plain;svn:eol-style=native *.texi = svn:mime-type=text/plain;svn:eol-style=native *.inc = svn:mime-type=text/plain;svn:eol-style=native *.am = svn:mime-type=text/plain;svn:eol-style=native