我需要在Windows上使用SVN,并希望设置它,使得无论使用哪个仓库,都会以Windows风格检出行结束符,并总是以Unix风格提交。
这是否可能?还是我必须为每个仓库编写一个配置文件?
如果我必须为每个仓库编写配置文件,应该把它放在哪里?正确的文件名是什么?这个文件应该包含哪些内容?对其他仓库用户会产生什么影响?
我对全局SVN配置文件进行了以下更改,但没有效果。我还需要做什么?或者我必须用一些特定的参数在Windows上调用SVN才能生效吗?
enable-auto-props = yes
[auto-props]
*.c = svn:eol-style=native
*.cpp = svn:eol-style=native
*.cxx = svn:eol-style=native
*.h = svn:eol-style=native
*.hpp = svn:eol-style=native
*.hxx = svn:eol-style=native
*.txt = svn:eol-style=native
*.tex = svn:eol-style=native
*.bib = svn:eol-style=native