Bug #538
End of Line style is incorrect in SVN.
| Status: | Closed | Start: | 05/11/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | Build | Spent time: | 0.50 hour | |
| Target version: | 0.7.0 | Estimated time: | 1.50 hour | |
Description
The eol-style for SVN should be set to "native" for all text/source files. This will prevent future CR->CRLF corruptions when multiple platforms and/or editors are involved in working on the source.
The command to accomplish this is:
svn propset eol-sytle native filename.txt
Associated revisions
Changed: #538 set eol-style native for CEGUI sample.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Changed the EOL style to native and converted EOLs.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Changed EOL style to native for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Changed: #538 Fixing native EOL type for source/text files.
Fixed: #538 Fixing native EOL type for source/text files.
History
Updated by sfb 9 months ago
Here is an example script that may accomplish this. We probably want additional file extensions in there such as:
- htm
- html
- txt
- cfg
- php
#! /bin/sh
for i in `find . -name ‘*.cpp’ \
-or -name ‘*.c’ -or -name ‘*.h’`
do
unix2dos $i
svn propset svn:eol-style native $i
done