In RTC 5.0.2: Check in local changes pop-ups "Inconsistent line delimiter were encountered in files..." message
Hi,
I was moving some files using RTC Client to jazz repository. While check-in, it pop-ups a message "Inconsistent line delimiter were encountered in files..." message
Please see the from the image in below link:
https://drive.google.com/file/d/0B5ka4WvpKMx7Y3otc1ZzTjJtOVU/view?usp=sharing
WHat does that mean? and what should I do, Select All or Deselect all?
Regards,
Muhammad Moid
One answer
Inconsistent line delimiters in a file could happen if you have a file created in one platform (say Windows) and the text has been edited/copied to this file in another platform (say Linux/Unix). Windows has CRLF as the line delimiter and Linux has LF as the line delimiter.
As mentioned in the dialog, you can select the files that you know are text files and those files will be changed to have consistent line delimiters. By default, when you share or check-in files for the first time the default line delimiter is set to PLATFORM. So if your PLATFORM is Windows then the line delimiters will be set to CRLF.
For information take a look at the following links:
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/t_line_delim_handling.html&scope=null
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/c_lineterm.html&scope=null
Comments
Actually I have to move all the files and I was not sure about the files. So I "deselect all" for time being and moved the files to Jazz Repository. So, all the files are inserted as Binary.
Now If I came to know the those files were text. How can I make them text file again?
To change the line delimiter take a look at this link: https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/t_scm_eclipse_resourceprop.html&scope=null