Invalid Line Separators

I asked this question awhile ago but didn't get a response, so I'm trying again...

Ever since upgrading to RubyMine 2.0 I periodically get the following erro message when I try to commit a file I've just changed: "INVALID LINE SEPARATORS: The following text files have line separtor that do not match the project line separator. Select the files you wish to convert to project default line separators before commit."

The dialog presents two options: Convert Selected and Leave Unchanged.

I didn't change any line-separator-related settings when I upgraded from 1.x to 2.0. In Settings > Code Style > General > Line Separator it has "System Dependent" for a value.

Can someone please help with this?

BTW, I am the only one working with the files, so it's not like I'm getting a recently-edited-in-Windows file on my Linux platform.

Thanks,
Larry

2 comments
Comment actions Permalink

I could be wrong on this one but it sounds like a SCM pre-commit trigger message. Is your file under source control using GIT or SVN? The error message might be generated by either one of these systems doing a pre-commit change. In the case of GIT, check you .git/hooks folder and unset the execution flag on the the files there.

HTH

0
Comment actions Permalink

Thanks a lot, Nazar - I think you are right. Not only did I upgrade from RubyMine 1.x to 2.0, but I also switched from SVN to GIT around the same time. So I bet it is the SVN --> Git that is causing the problems.

Sorry for blaming RubyMine

Thanks again,
Larry

0

Please sign in to leave a comment.