danie...@apache.org wrote on Wed, Apr 24, 2013 at 16:14:53 -0000: > Author: danielsh > Date: Wed Apr 24 16:14:53 2013 > New Revision: 1471504 > > URL: http://svn.apache.org/r1471504 > Log: > Teach backport.pl to parse non-approved entries, too. > > * tools/dist/backport.pl > (handle_entry): In $YES mode, skip non-approved entries. > (main): Parse both approved and non-approved entries, noting which is which.
With this change, backport.pl now supports an interactive workflow that covers non-approved entries, too. You can use it as follows: % cd trunk-wc % svn up tools/dist/backport.pl % cd ../18x-wc % svn revert -R . % ../trunk-wc/tools/dist/backport.pl [type 'y' to merge an entry, and 'n' to skip to the next entry] If you type 'y', it'll run 'revert -R . && update', merge the entry, and offer to open a subshell so you can review/build the entry. The Perl script requires /bin/sh to be available to do merging, so if you're on windows you might be able to run the script without errors if you answer 'n' to all prompts. HTH Daniel