Changes between Version 28 and Version 29 of HowToBackport
- Timestamp:
- 06/21/17 14:18:08 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToBackport
v28 v29 25 25 == Hints == 26 26 27 T hree littlescripts to make merging between branches easier:27 Two little helper scripts to make merging between branches easier: 28 28 * [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) 32 30 33 31 To use them, first make sure all branches are up to date (`svn up`) and clean (`svn diff`), … … 37 35 Example: 38 36 {{{ 39 # make the original edit 37 # make the original edit in trunk 40 38 cd trunk 41 39 svn diff lib/gis/parser.c 42 40 svn up lib/gis/parser.c 43 vi lib/gis/parser.c41 vim lib/gis/parser.c 44 42 svn diff lib/gis/parser.c 45 43 # .. 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 47 46 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/ 50 50 svn diff lib/gis/parser.c 51 51 svn up lib/gis/parser.c 52 svn7merge 54321 # using the rev number from before52 /path/to/grass-addons/tools/svn-merge.sh 12345 # using the rev number from above 53 53 svn diff lib/gis/parser.c 54 54 # .. run make; test the change .. 55 svn commit lib/gis/parser.c55 svn commit -m"libgis: fix of XYZW in parser (trunk, r12345)" lib/gis/parser.c 56 56 }}} 57 57 == Comparing branches ==