Jazz SCM : Accepting Changes overwrite local Changes
![]()
Salman Shaikh (234●1●16●71)
| asked Sep 19 '16, 9:49 a.m.
edited Sep 19 '16, 3:56 p.m. by David Lafreniere (4.8k●7)
Lets suppose 2 developers are working on same project
Dev1 : Modified Test.java File (Delivered on the server) Dev2 : Working on Test.java in local Sandbox Now the scenario is Dev2 received incoming change-set with file Test.Java and he accepted the change-set. The Accept operation just overwrite the Local sandbox File on Dev2 Machine and he lost all changes. My Question is there should be some Pop Up or alert for merging / overwriting the file? Is there any workaround/option for this? |
2 answers
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Sep 19 '16, 9:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Sep 19 '16, 9:54 a.m.
I am pretty sure that the client would detect the pending changes locally and during accept it would ask the user (in a pop up) if they want to check in their local change. The user can either check in the change or stop the accept and check in and suspend the change. Or they can ignore the messages and overwrite the local files.
Comments That is default behavior, But if there is a conflict it should ask for merge or conflict.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There is only a conflict if there is a change set. I think I have pretty accurately described the scenario. Here the error message that pops up:
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note that you can set an option and that is set by default to "Enable Backup in Shed"
|