Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: stahta01 on April 12, 2023, 04:59:38 PM

Title: Possible linefeeds issues in SVN repo
Post by: stahta01 on April 12, 2023, 04:59:38 PM
I am doing some SVN to Git building and I think these files have linefeed issues.

Tim S.


dos2unix src/sdk/cbart_provider.cpp && \
dos2unix src/include/cbart_provider.h && \
dos2unix src/include/cygwin.h && \
dos2unix src/include/editor_utils.h && \
dos2unix src/include/wxstringhash.h
Title: Re: Possible linefeeds issues in SVN repo
Post by: Miguel Gimenez on April 12, 2023, 06:03:50 PM
The cpp file has mixed line endings, the others look good. For example (on MSW):

$ file cbart_provider.cpp
cbart_provider.cpp: C source, ASCII text, with CRLF, LF line terminators
$ file wxstringhash.h
wxstringhash.h: C++ source, ASCII text, with CRLF line terminators


EDIT: cbart_provider.cpp fixed in r13256.
Title: Re: Possible linefeeds issues in SVN repo
Post by: sodev on April 12, 2023, 06:49:44 PM
The other files don't have eol-style set, on my windows i got them with LF line endings.
Title: Re: Possible linefeeds issues in SVN repo
Post by: Miguel Gimenez on April 12, 2023, 07:28:14 PM
r13257: Set svn:eol-style to native and svn:keywords to "Date Revision Author URL Id" in the .h files above so they match others.
Title: Re: Possible linefeeds issues in SVN repo
Post by: stahta01 on April 12, 2023, 07:37:14 PM
Thank both for the changes.

Tim S.