Changes between Version 10 and Version 11 of doc/tec/developerrules/svnbranch


Ignore:
Timestamp:
Nov 15, 2018 6:08:59 PM (6 years ago)
Author:
kanani
Comment:

--

Legend:

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

    v10 v11  
    44
    55== (1) Creating an svn branch ==
     6'''Repository branch (only for admins)'''
     7* @palm server: permissions to be set in /palmdata/conf/svn_authz file
     8* {{{svn copy https://palm.muk.uni-hannover.de/svn/palm/trunk https://palm.muk.uni-hannover.de/svn/palm/branches/<feature_name> -m "Branch for <feature_name> created.}}}
     9* (rename: {{{svn move <path to old branch> <path to new branch> -m „...“}}})
    610
    7 * Repository branch (only for admins)
    8   * @palm server: permissions to be set in /palmdata/conf/svn_authz file
    9   * svn copy https://palm.muk.uni-hannover.de/svn/palm/trunk https://palm.muk.uni-hannover.de/svn/palm/branches/<feature_name>\\ -m "Branch for <feature_name> created."
    10   * (rename: svn move <path to old branch> <path to new branch> -m „...“)
    11 
    12 * Local branch copy (for developers)
    13   * Create local working directory where the local copy of branch <feature_name> is placed, we recommend: \\ mkdir -p ~/palm/branches \\ The directory branches is on the same level as the directory current_version, where the official PALM releases/revisions (trunk) should be located
    14   * You can browse your branch under https://palm.muk.uni-hannover.de/trac/browser/palm/branches
     11'''Local branch copy (for developers)'''
     12* Create local working directory where the local copy of branch <feature_name> is placed, we recommend:\\
     13  {{{mkdir -p ~/palm/branches}}}\\
     14  The directory branches is on the same level as the directory current_version, where the official PALM releases/revisions (trunk) should be located.
     15* You can browse your branch repository under https://palm.muk.uni-hannover.de/trac/browser/palm/branches
    1516
    1617
     
    5960== (4) Synchronizing local branch copy with svn branch or trunk ==
    6061
    61 It is wise to '''frequently''' synchronize your local branch copy with the latest svn revision of your branch (see Chap. 4a) and/or  with the trunk (see Chap. 4b)\\ to stay up-to-date. Chap. 4a might become necessary if more than one developer simultaneously work on the same feature branch.
     62It is wise to '''frequently''' synchronize your local branch copy with the latest svn revision of your branch (see Chap. 4a) and/or  with the trunk (see Chap. 4b) to stay up-to-date. Chap. 4a might become necessary if more than one developer simultaneously work on the same feature branch.
    6263
    6364|||| Please '''DO NOT''' mix up synchronization and other code changes in one commit, because when \\ doing  a diff of two branch revisions it‘s very difficult to find out the actual changes in the branch. ||
     
    67681. {{{cd $HOME/palm/branches/<feature_name>}}} \\
    68692. {{{svn update}}} (takes care of merge here)
    69 3. During update/merge, svn will print an alert in case the same line/block \\ of code has been modified by the different developers. As an example:
    70 
    71    {{{Conflict discovered in file 'palm.f90'.}}} \\
    72    {{{Select:}}} 
    73    {{{(p) postpone, (df) show diff, (e) edit file, (m) merge, (mc) my side of conflict,}}} \\{{{(tc) their side of conflict, (s) show all options:}}}
     703. During update/merge, svn will print an alert in case the same line/block of code has been modified by the different developers. As an example:
     71  {{{
     72   Conflict discovered in file 'palm.f90'.
     73   Select: 
     74   (p) postpone, (df) show diff, (e) edit file, (m) merge, (mc) my side of conflict,
     75   (tc) their side of conflict, (s) show all options:
     76  }}}
    7477
    7578   We recommend to {{{select (p)ostpone}}} for all emerging conflicts, and after that, manually check/merge the contents of these files. \\ '''(Details in Chapter 4c)'''