Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: afb on April 26, 2007, 10:40:54 am
-
My editor can cope with files being all Unix (\n) or all Windows (\r\n), but it doesn't cope with the files that Subversion has with mixed line endings. It usually ends up "fixing" those, to one or the other. Usually by inserting a blank line for each \r, making it really spaced out.
Is it possible to have Subversion convert everything to Unix when I check it out, or how should I cope with this ? svn diff --extensions --ignore-eol-style works for diffs, but I'm not sure what to do otherwise. Besides avoid the ctrl-M's in the first place, any ideas ?
-
Try
svn propset svn:eol-style native <file>
BYO