Ignore time stamps? Recognize only files with changed data?
![]()
A person I support wants to extract a zipped directory structure into a workspace and have RTC recognize, as unresolved changes, only the files that have changes to the data in a file as opposed to just a changed modified date. I've not found such an RTC option.
He gets a drop that's a zip file containing all files, not just changed files. He wants to avoid having to diff each file to find what's changed. Of course he mentions that ClearCase does this by default. Thanks! Kris |
5 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Apr 03 '12, 6:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The date is not that interesting to RTC, at least from what I have seen.
I have done the following in the past: - Unzip the file over the files in the eclipse workspace - Refresh eclipse. If I remember correctly after the refresh Eclipse should only show the files that changed. I am also - using zip restoring complete Eclipse workspaces. Due to an isssue with my zip algorithm the date does not match what RTC thinks it should be. I refresh, no outgoing changes and the workspaces are in sync again. Do you see a different behavior? |
![]() The date is not that interesting to RTC, at least from what I have seen. Thanks for the comment! I'll look further into what is really changing in the files. I don't yet have access to the environment where the issue occurs. ... and my initial experiment must not have been sufficient. |
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Apr 03 '12, 2:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Kris,
please let us know of the outcome. |
![]() Kris, Hi Ralph, I Now, he sees that a text diff shows nothing but a He promises that he'll send me samples of the zip files next week. Thanks again for getting back to me so quickly with a definitive answer. That made it so much easier for me in many ways. Kris |
![]() Kris, The issue has been resolved. The process will be changed such that files are added to the workspace only when needed rather than extracting the entire contents of the zip into the workspace. I never saw the zip files and never saw the issue 1st-hand. I can't any more light onto the issue. It appears to be an issue of zip making changes to non-printing data in the file, data that might be ignored by some types of diff. Thanks again for your timely and definitive response. Kris |
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.