Check-in operation causes file modification
Hello to the forum members,
|
Accepted answer
Hi Gil,
- since 6.0.4 we got checkin preconditions and advisors: https://jazz.net/pub/new-noteworthy/rtc/6.0.4/6.0.4/index.html#10 . Make sure to check if any are activated for that project area and could affect your checkins the way you observer.
- one other thing I could think of is if the delimiter handling has been defined for that project area: https://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.5/com.ibm.team.scm.doc/topics/t_line_delim_handling.html - maybe your files start having the "wrong" delimiter and upon checkin that is fixed according to settings?
Just a couple of stabs in the dark in my weekend. If any of this gets you ahead, please mark as accepted and share what worked. gg, Arne Gidi Gal selected this answer as the correct answer
Comments
Gidi Gal
commented Apr 25 '18, 10:54 a.m.
Thanks Arne, it was the line delimiter which caused the modification.
Gidi Gal
commented Apr 26 '18, 1:22 p.m.
Hi Arne,
Is it possible to set the line delimiter conversion to ignore specific file extensions ?
Thanks,
Gidi
|
2 other answers
Gidi,
|
Hi Arne,
Thanks for your reply. I did a small test on RTC client 6.0.5:
1) I delivered a small text file (test.txt) with 10 lines with line delimiter \r\n.
2) I set "None" for *.txt.
3) I replace text.txt file with a file with 10 lines separated with \n.
4) On check-in the file was converted to \r\n.
Are you able to to reproduce this behavior ?
Thanks,
Gidi
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Gidi, a RTC server/client version and type of client is the minimum I would expect in such a question.
Thanks Ralph, I added the details in my question.
By "RTC client", do you mean an RTC Eclipse Client? (As opposed to visual studio, windows explorer, or command line). Also, by "project area", do you mean "workspace"? You don't checkin files to a project area ... you check them into a workspace (or if you are using the web client, you check them into a stream).