Setting the svn:eol-style property to native for all files
|Reported by:||John Kern||Owned by:||nobody|
|Severity:||Keywords:||svn unix windows eol|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I've just checked out django files on a Windows XP machine. If you open py files in vim and write :set ff you get fileformat=dos. Since most django developers work on Mac OS X or Linux (fileformat=unix) this means that you set the svn:eol-style property for these files to native letting subversion to automatically chose the fileformat when a client check out the files. That's a good thing. Unfortunately there are many files with the svn:eol-style property not yet set to native: as a consequence they are checked out on a windows computer as unix files. Of course you can read them with a good text-editor but in notepad they are a mess. As an example see the txt files in the docs folder. I'm not an expert in software development with svn but my suggestion is to set the svn:eol-style property to native for the top folder containing all other folders and files: you will be sure that any file will be correctly checked out and committed also by Windows users (if any) among django developers.