SVN: change defaults for line endings

Jarosław Staniek js at iidea.pl
Wed May 4 16:34:14 BST 2005


>>The de facto policy is kde code stored in SVN - other code (eg 3rd party apps 
>>using kdelibs) can be in CRLF, IMHO we shouldn't care.
> 
> I only noticed that we had plenty of files with CRLF in KDE CVS. What I just wonder
> about: will CRLF files be converted to LF automatically?

In what files / modules?

If we set eol-style to 'LF' and then somebody re-checked out a module, she/he 
will always get files with LF. Otherwise, (in case when she/he had CRLF files 
before our fix has been performed) it's needed to run dos2unix on her/his 
local files.

So, as an option I can propose to run the script similar to the one I posted 
before -- at least for kdelibs and several modules we can predict will be 
used/ported on win32. Anyway, would be better to convert most modules, and 
then check in changes atomically.

As an example I am doing the fix for 
https://svn.kde.org/home/kde/branches/kexi/kexi_0_1_branch/

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska / Kexi Team
  http://www.openoffice.com.pl  |  http://www.kexi-project.org
  KDElibs/Windows: http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32




More information about the kde-core-devel mailing list