Changes between Version 4 and Version 5 of doc/tec/developerrules/svnbranch


Ignore:
Timestamp:
Nov 12, 2018 12:17:48 PM (6 years ago)
Author:
westbrink
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/tec/developerrules/svnbranch

    v4 v5  
    7171
    72724. {{{svn resolved any_file.f90}}}
    73 5. {{{svn commit}}} '''(Details in Chapter 5)'''
     735. {{{svn commit}}} '''(Details in Chapter 5)''' 
    7474     [[span(style=color: #FF0000, __'''Note:'''__ It might be wise to put a copy of your modified files somewhere else before you do the merge.)]]
    7575
     76== (4 b) Merge PALM main repository revision (trunk) into local branch copy ==
    7677
     781. {{{cd $HOME/palm/branches/<feature_name>}}}
     792. {{{svn update}}} (to obtain HEAD (overall latest) repository revision )
     803. {{{svn merge -r####:HEAD}}}\\ {{{https://palm.muk.uni-hannover.de/svn/palm/trunk}}}\\(####: branch revision at last merge with trunk)
     814. During update/merge, svn will print an alert in case the same line of code has been modified by the different developers. \\As an example:
     82    {{{Conflict discovered in file 'palm.f90'.}}} \\ {{{Select:}}} {{{(p) postpone, (df) show diff, (e) edit file, (m) merge, (mc) my side of conflict,}}} \\ {{{(tc) their side of conflict, (s) show all options:}}}
     83   
     84   We recommend to {{{select (p)ostpone}}} for all possible conflicts, and after that, manually check/merge the contents of these files.\\ '''(Details in Chapter 4c)'''
     855. svn resolved any_file.f90
     866. svn commit '''(Details in Chapter 5)'''
     87    [[span(style=color: #FF0000, __'''Note:'''__ It might be wise to put a copy of your modified files somewhere else before you do the merge.)]]
     88
     89== (4 c) Resolving conflicts in a merge ==
     90
     91You will find following set of files in case of a conflict, e.g.
     92|||| average_3d_data.f90.[[span(style=color: blue, merge-left.r2046)]] |||| (your code was used at conflicted line in merged file) ||
     93|||| average_3d_data.f90.[[span(style=color: blue, merge-right.r2735)]] |||| (their code was used at conflicted line in merged file) ||
     94|||| average_3d_data.f90.[[span(style=color: blue, working)]]. |||| (your unmerged file version) ||
     95|||| average_3d_data.f90  |||| (your + their code at conflicted line in merged file) ||
     96
     97
     98
     99
     100