Incoming file not showing merge when the same file is changed in sandbox
I have a file modified in sandbox but not checked-in/delivered yet. But the same file has been modified by another developer and got delivered. So I see that file in incoming changes. I was expecting it to show something like the file is changed in sandbox also. Unless I see both Unresolved and Incoming folders, I dont realize that same file is modified in sandbox. This could possibly cause issues when developers Accept the changes without realizing that same file is changed in Sandbox. My local file can't be checked-in/delivered yet. How can we see that Incoming file is modified in sandbox also without actually looking at Unresolved folder which is very hard when there are lot of files modified in Sandbox.
2 answers
Hello Ram
When there is an incoming change, you need to look into the unresolved folder, look for the conflicting files, resolve the conflict as appropriately.
Accepting the changes will get the latest changeset into the repository workspace only yet and not into the sandbox. Only when you load, will this file get loaded into the sandbox where you are modifying the same file.
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Fc_csets_conflict.html
It is a good practice to check-in the contents to the repository workspace often.
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/index.jsp?topic=%2Fcom.ibm.jazz.repository.web.admin.doc%2Ftopics%2Ft_backup_commercial_db.html
I do not believe there is a way to see that incoming file is modified in sandbox as well, without looking at unresolved folder. This perhaps is because the contents in sandbox is not within RTC source control yet, until it is checked in.
I've created work item In Pending Changes view, show conflicts between unresolved and incoming changes (295970) for this request.
Note that these conflicts are displayed in the Package Explorer view.
Also note that whenever you execute an Accept when you have Unresolved changes in your sandbox, the GUI will pop-up a warning advising you to checkin your changes before performing the accept, or your Unresolved changes may be overwritten by the Accept. I personally believe it should refuse to do the Accept if it will in fact overwrite Unresolved changes ... I've submitted another work item requesting that behavior: When accepting changes when there are unresolved changes, the GUI should check whether you actually will overwrite any changes (295971)
Note that these conflicts are displayed in the Package Explorer view.
Also note that whenever you execute an Accept when you have Unresolved changes in your sandbox, the GUI will pop-up a warning advising you to checkin your changes before performing the accept, or your Unresolved changes may be overwritten by the Accept. I personally believe it should refuse to do the Accept if it will in fact overwrite Unresolved changes ... I've submitted another work item requesting that behavior: When accepting changes when there are unresolved changes, the GUI should check whether you actually will overwrite any changes (295971)
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Dec 31 '13, 12:08 p.m.Ram Chundu
Dec 31 '13, 2:48 p.m.Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Dec 31 '13, 9:47 p.m.