[pypy-dev] Re: [pypy-svn] r15405 - in pypy/dist/pypy: module/__builtin__/test module/__builtin__/test/impsubdir/compiled module/_codecs/test module/posix/test translator/goal translator/llvm2/module

Jacob Hallén jacob at strakt.com
Sat Jul 30 14:14:05 CEST 2005

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.


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

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:

*.py = svn:eol-style=native;svn:keywords=Id
*.txt = svn:eol-style=native
Makefile = svn:eol-style=native
*.ui = svn:eol-style=native


More information about the Pypy-dev mailing list