Changes between Version 28 and Version 29 of HowToBackport


Ignore:
Timestamp:
Jun 21, 2017, 2:18:08 PM (7 years ago)
Author:
neteler
Comment:

finetuning of procedure

Legend:

Unmodified
Added
Removed
Modified
  • HowToBackport

    v28 v29  
    2525== Hints ==
    2626
    27 Three little scripts to make merging between branches easier:
     27Two little helper scripts to make merging between branches easier:
    2828 * [browser:grass-addons/tools/svn64merge]
    29  * [browser:grass-addons/tools/svn65merge]
    30  * [browser:grass-addons/tools/svn7merge]
    31  * [browser:grass-addons/tools/svn70merge]
     29 * [browser:grass-addons/tools/svn-merge.sh] (recommended for any GRASS GIS 7 release branch)
    3230
    3331To use them, first make sure all branches are up to date (`svn up`) and clean (`svn diff`),
     
    3735Example:
    3836{{{
    39  # make the original edit
     37 # make the original edit in trunk
    4038 cd trunk
    4139 svn diff lib/gis/parser.c
    4240 svn up lib/gis/parser.c
    43  vi lib/gis/parser.c
     41 vim lib/gis/parser.c
    4442 svn diff lib/gis/parser.c
    4543 # .. run make; test the change ..
    46  svn commit lib/gis/parser.c   # note the rev number of the commit
     44 svn commit -m"libgis: fix of XYZW in parser" lib/gis/parser.c
     45 # --> note the rev number of this commit for an immediate or future backport
    4746
    48  # now backport it
    49  cd ../relbr70
     47
     48 # backport fix to the appropriate release branch (e.g. GRASS GIS 7.2.x)
     49 cd /path/to/grass72_release/
    5050 svn diff lib/gis/parser.c
    5151 svn up lib/gis/parser.c
    52  svn7merge 54321              # using the rev number from before
     52 /path/to/grass-addons/tools/svn-merge.sh 12345   # using the rev number from above
    5353 svn diff lib/gis/parser.c
    5454 # .. run make; test the change ..
    55  svn commit lib/gis/parser.c
     55 svn commit -m"libgis: fix of XYZW in parser (trunk, r12345)" lib/gis/parser.c
    5656}}}
    5757== Comparing branches ==