lördagen den 30 juli 2005 13.47 skrev Eric van Riet Paap:
Hi Holger,
Is there some svn/vi setting I could use to prevent this eol problems?
This is what Fredrik Juhlin wrote on the Strakt internal development list. Hi, Anyone that has ever had to add a file to a Subversion repository knows that it's easy enough to forget to set the appropriate properties, such as svn:eol-style. Thankfully, it is possible to get that to happen semi-automagically: In your .subversion/config file, that is created for you when you use svn the first time, there's a row that you can uncomment, like so: enable-auto-props = yes Then, there's a section called [auto-props] where you can specify file-name patterns and properties that should be set automatically for them. There's a bunch of suggestions in the section already, so it shouldn't be too hard to figure out how to use it. Mine looks like this: [auto-props] *.py = svn:eol-style=native;svn:keywords=Id *.txt = svn:eol-style=native Makefile = svn:eol-style=native *.ui = svn:eol-style=native //Fredrik