Resolve Merge Conflicts for CWS Integration

From Apache OpenOffice Wiki
Revision as of 08:15, 9 January 2008 by Rt (Talk | contribs)

Jump to: navigation, search

How do I resolve merge conflicts for CWS integration?

When your CWS has been approved by QA you can help integrating it into the master workspace by solving possible merge conflicts in advance. First check whether there are conflicts:

cwsanalyze all

(you have to do this in a scratch directory, not on you CWS).

If there are conflicts, for any conflicting file do (on your CWS, not in the scratch directory where you just did cwsanalyze)

> cd path_to_your_file
path_to_your_file> cwsresync -m HEAD filename

Resolve conflicts, then check in your changes with

path_to_your_file> cwsresync -c filename

Please really commit your conflict resolutions using 'cwsresync -c' to get CWS tags right. In case you check in manually there will still be merge conflicts during integration.


Of course the CWS gets inconsistent when merging single files. It may happen that afterwards it does not build any more. This normally is no problem when you do it after your last build for QA, just before integration.

Personal tools