Changes between Version 24 and Version 25 of Release


Ignore:
Timestamp:
Feb 27, 2011, 12:38:06 PM (3 years ago)
Author:
waxhead
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Release

    v24 v25  
    117117 * Take the FIRST and LAST revision number from that log 
    118118 * {{{ svn merge -rFIRST:LAST http://svn.perlide.org/padre/branches/Padre-X.XX/ }}} . 
     119 * If you do not get any merge conflicts, then follow the next step, otherwise use "Resolving Merge Conflicts" as a quick guide to help resolve any conflicts. 
    119120 * {{{ svn commit -m'merge -rFIRST:LAST http://svn.perlide.org/padre/branches/Padre-X.XX/' }}} 
    120121 * now you can remove the release branch: 
    121122 * {{{ svn rm http://svn.perlide.org/padre/branches/Padre-X.XX/ }}} 
     123 
     124 
     125== Resolving Merge Conflicts == 
     126 
     127If you are fortunate you will not see merge conflicts when you merge the branch back to trunk, however 
     128if you do, then the following is a quick crib on how to deal with it. 
     129 
     130When svn updating you SVN will halt at the file in conflict asking you what to do, simply select "postpone" as  
     131we will go back to the conflicted file(s) after the merge has completed. 
     132 
     133SVN will create three files if there is a merge conflict in trunk and the branch, a 'left.merge', 'working' and 'right.merge' file. 
     134 
     135The simple way to work this out, is open the actual file in vim. 
     136 
     137Look for lines that begin with >>> or <<<  
     138 
     139Depending on which lines you keep, remove the lines between >>> or <<< and === and remove these lines too. 
     140 
     141Once you have completed the merge and are happy with the changes, tell svn you have resolved the problem: 
     142 
     143svn resolved <file-name> 
     144 
     145This removes the merge conflict files. 
     146 
     147Once you have completed all the conflicts, return back to the parent directory and svn commit with a message like 'merge -rFIRST:LAST http://svn.perlide.org/padre/branches/Padre-X.XX/' 
     148as this shows up in the log where you merged the branch back. 
     149 
    122150 
    123151