Foren / Cotonti / Bugs / Archive / CR/LF in source files

Windows line break format (CR/LF) still there

Kilandor
#995 9. September 2008, 15:34
I think most SVN tools, will compensate for this, I know mine do when using diff.

But I did some research and there is a SVN setting svn:eol-style

Which I found you can force line endings, but it can be set to native, that way when checked out, win users get it as CRLF, nix users get it as LF, it checks out based on your OS your checking out from on Commit it stores all line endings as LF

I'll see about setting this, then no one will have any problems, or have to fool with it.

Update: I've enabled this but haven't tried it. Differnet people checkout the SVN and try it out. Tell your OS and what you find. (I don't know if you can just Update and it will work, or if you have to do a new checkout.)

Dieser Beitrag wurde von Kilandor (am 9. September 2008, 18:57, vor 16 Jahre) bearbeitet