It's all about the answers!

Ask a question

Gidi Gal (961952) | asked Jul 22 '19, 12:55 p.m.
edited Jul 29 '19, 12:10 p.m.
I am trying to get a callback when accept operation hits "out of sync" scenario. I thought that the method mentioned above is called in such scenario. It seems that it does not. Here is the scenario which causes "out of sync" during accept:
Consider an incoming change-set with renamed folder.
Open a command line and change directory to the renamed folder.
Try to accept the change-set. You will get exception about failure to rename the folder and the workspace will become out of sync. The exception which is thrown is FileSystemStatusException. I tried to debug the handling of it, it seems that the callback mentioned above is not called.

Is it the correct behavior ? Is there any other callback which is called under WorkspaceUpdateDilemmaHandler when workspace becomes out of sync during accept ?
Thanks :-)

Be the first one to answer this question!

Register or to post your answer.