svn:eol-style
Posted: Wed Sep 29, 2004 9:59 pm
Hello developers,
Currently there is not a consistent policy concerning EOL. There are files with unix-style EOL (LF), there are files with MS-DOS-style EOL (CRLF) and it would not surprise me if those styles were mixed in some files, of if some files use the Mac-style EOL(CR).
There is an easy solution: for each text-file, execute the following command:
The file example_file.txt will get the EOL-style of the system where it is checked out. Subversion will take care of that.
See for more information http://svnbook.red-bean.com/svnbook-1.0 ... sect-2.3.5.
There is a catch: as far as I know this works only if trunk is checked out fresh. In other words: delete or rename the local working copy of trunc and do:
If you are interested, I can provide a shell script that sets the eol-style property to native of each text file in trunk.
Cheers,
Leen
Currently there is not a consistent policy concerning EOL. There are files with unix-style EOL (LF), there are files with MS-DOS-style EOL (CRLF) and it would not surprise me if those styles were mixed in some files, of if some files use the Mac-style EOL(CR).
There is an easy solution: for each text-file, execute the following command:
Code: Select all
svn propset svn:eol-style native example_file.txt
See for more information http://svnbook.red-bean.com/svnbook-1.0 ... sect-2.3.5.
There is a catch: as far as I know this works only if trunk is checked out fresh. In other words: delete or rename the local working copy of trunc and do:
Code: Select all
svn checkout http://svn.cmsmadesimple.org/cms/trunk
Cheers,
Leen