You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (Created) (JIRA)" <de...@uima.apache.org> on 2011/12/21 20:31:32 UTC

[jira] [Created] (UIMA-2311) wrong or no svn:eol-style set on many files in uimacpp

wrong or no svn:eol-style set on many files in uimacpp
------------------------------------------------------

                 Key: UIMA-2311
                 URL: https://issues.apache.org/jira/browse/UIMA-2311
             Project: UIMA
          Issue Type: Improvement
          Components: C++ Framework
            Reporter: Marshall Schor
            Assignee: Bhavani Iyer
            Priority: Minor


Files that developers edit with text editors are usually marked with the svn property svn:eol-style native.  This insures that when they are checked out, the line endings are converted to the client's style of line endings, and when changes are checked in, the line endings are normalized, so that lines which are not changed don't appear in the diff.  

Without this, we have seen cases where a file is stored with some line ending in SVN, checked out onto a machine with different default line endings, edited and saved (causing the line-endings to be changed to that machine's default style), and then committed.  The commit shows as if every line has been changed, whereas the real change might have been just a few lines.  This makes for difficult reviewing of the commits, of course.

I found many examples in the uimacpp project where the svn:eol-style is missing, or where it was set to LF (which might be alright, but native is probably safer).

Committers: It is highly recommended that you can set up your SVN to automatically tag "new" files with the right svn:eol-style, by following the instructions here: http://www.apache.org/dev/svn-eol-style.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira