Question

I am using Textmate (bran new user) as my editor of choice. Today I did svn diff somefile and found that svn thinks I changed the entire file !

In Textmate, I went to Textmate -> Preferences -> Advanced -> Saving and Set Line Endings to LF (recommended). File Encoding is set to UTF8 (recommended).

I guessed that this was the correct setting but I really don't know. Anyway, this is a big deal because my project gets changed a LOT very fast and it is a massive project...thousands of files.

Was it helpful?

Solution

SVN does not care what line endings your files use, it just warns you that they changed.

My guess would be that most of the source code is either written in a Windows based editor (CRLF) or in a pre-OSx editor (CR). Unless your project is Mac-specific I'd bet on the first one.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top