It sometimes happens that someone edits an element that you edited too. For some time you are not aware of this, but as soon as you start merging, the system will present you with a conflict. How do you act when a conflict occurs? The following steps show how to resolve a conflict.

Step-by-step guide

In case someone has updated an element in one branch and you have updated the same element too, the following happens:

  1. Go to Home
  2. Select Version management
  3. Merge the feature branch to Trunk.
  4. Select the correct revision.
  5. Click on Merge.
  6. The system checks the branches and shows up a conflict, which is a content conflict (because we changed some properties of an attribute in this example):
  7. You click on Apply and click Close.
  8. When you open the project of branch Trunk a warning will be shown on the bottom of the window:
  9. You can either click on the message or go to File > Conflicts
  10. The following will be shown:
  11. To know what the difference between these two versions are, click on Compare content.
  12. A new window will appear:
  13. We merged the changes from FeatureBranch to Trunk. Blueriq acts as if this merge was successful, so the element from the FeatureBranch is taken as the current element in this branch (Trunk). The original element is the element as it was before the merge in this branch (Trunk).
  14. You now have to check what has been changed. You will recognize that the border of the description field is somewhat thicker, which indicates that this property of the element has been changed. A second hint that a property has been changed is the following icon behind a property field:

    By clicking on this icon it is possible to copy the text to the current element.
    You may also notice that the question text shows this element, but it has no thick border. This is due to the fact that that this description has been added twice and independently on the two branches, but with exactly the same text. So seen from the contents it is the same, but with the tiny icon behind the element it shows that it originally was not there.
  15. Now choose one of the two options by clicking on the header, either 'Use current element' or 'Use original element'.
  16. Let's click on 'Use current element' as we want the change to be processed from the FeatureBranch.
  17. Now click on 'Save' or 'Save and close'.
  18. The conflict is still shown in the overview which is presented after the compare screen closes.
  19. Now you have to state that you successfully have solved the conflict. This can be done by setting the checkbox of the conflict to true and click on 'Resolved' at the bottom.
  20. Right now there are no conflicts anymore and you can continue developing.