Difference between revisions of "Resolve Merge Conflicts for CWS Integration"

From Apache OpenOffice Wiki
Jump to: navigation, search
(CVS only)
Line 1: Line 1:
 
{{Documentation/Caution| This works only for CVS based CWSs! For SVN based CWSs you will have to use a full [[OOo_and_Subversion#Rebasing_a_CWS| '''cws rebase''']] instead (cws analyze being not yet (DEV300_m41) implemented).}}
 
{{Documentation/Caution| This works only for CVS based CWSs! For SVN based CWSs you will have to use a full [[OOo_and_Subversion#Rebasing_a_CWS| '''cws rebase''']] instead (cws analyze being not yet (DEV300_m41) implemented).}}
 
+
{{Documentation/Outdated}}
 
== How do I resolve merge conflicts for CWS integration? ==
 
== How do I resolve merge conflicts for CWS integration? ==
  
Line 22: Line 22:
 
There seems to be an issue when doing this using cygwin. To temporarily fix this, add /cvs/ in front of your path inside path_to_your_file/CVS/Repository
 
There seems to be an issue when doing this using cygwin. To temporarily fix this, add /cvs/ in front of your path inside path_to_your_file/CVS/Repository
  
[[Category:Development]]
+
[[Category:CVS]]
[[Category:How to]]
+
[[Category:Developer_Tools]]
+

Revision as of 11:34, 28 March 2010

Documentation caution.png This works only for CVS based CWSs! For SVN based CWSs you will have to use a full cws rebase instead (cws analyze being not yet (DEV300_m41) implemented).

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.


Remark:

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.

Remark 2:

There seems to be an issue when doing this using cygwin. To temporarily fix this, add /cvs/ in front of your path inside path_to_your_file/CVS/Repository

Personal tools