Changes between Version 6 and Version 7 of HowToBackport


Ignore:
Timestamp:
Apr 14, 2013, 12:07:30 AM (11 years ago)
Author:
hamish
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToBackport

    v6 v7  
    2121== Comparing branches ==
    2222
    23 A `diff` tool like Kompare, Kdiff3, or Meld can help. These run the standard UNIX `diff -u` utility and show the results in an easy to navigate GUI.
     23A `diff` tool like Kompare, Kdiff3, or Meld can help. These run the standard UNIX "`diff -u`" utility and show the results in an easy to navigate GUI.
    2424
    2525You'll want to tell them to ignore the build files, svn paperwork files, compiled binaries, and "Last changed" timestamps on the help pages.
    2626This is typically done by going into the options and telling it to ignore a list of wildcard'ed path names, and regex filter for the document content.
     27
     28For example, to compare devbr6 and relbr64 using `kdiff3`:
     29''(I used the QT version of Kdiff3)''
     30{{{
     31  cd grass/svn/
     32  svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 relbr64
     33  svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6 devbr6
     34
     35  kdiff3 relbr64/ devbr6/
     36}}}
     37
     38 * This will take a little while to scan the two directory trees
     39 * Once loaded, go to `Settings` → `Configure KDiff3...`
     40 * Go into the Directory tab
     41   * To "File-anti-pattern(s):" add "`;*.tmp.html`"
     42   * To "Dir-anti-pattern(s):" add "`;OBJ.x86*;dist.x86*;bin.x86*`"
     43     * ''(if not working with translations today you might add "`;locale`" to that too)''
     44   * In "File Comparison Mode" select "`Full analysis`"
     45 * Go to the Diff tab
     46   * In the "Line-matching preprocessor command:" line add "`grep -v "Last changed: $Date: 2"`"
     47     * ''(this will ignore the $Date:$ svn keywords at the end of the help pages)''
     48This is typically done by going into the options and telling it to ignore a list of wildcard'ed path names, and regex filter for the document content.