You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2013/07/02 22:28:07 UTC
svn commit: r1499098 - /subversion/trunk/tools/dist/backport.pl
Author: danielsh
Date: Tue Jul 2 20:28:07 2013
New Revision: 1499098
URL: http://svn.apache.org/r1499098
Log:
backport.pl: Allow the entry summary to start with a 'word:'.
* tools/dist/backport.pl
(parse_entry): Don't try to parse the first line as a header.
Modified:
subversion/trunk/tools/dist/backport.pl
Modified: subversion/trunk/tools/dist/backport.pl
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/backport.pl?rev=1499098&r1=1499097&r2=1499098&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Tue Jul 2 20:28:07 2013
@@ -199,7 +199,9 @@ sub parse_entry {
}
# summary
- push @logsummary, shift until $_[0] =~ /^\s*\w+:/ or not defined $_[0];
+ do {
+ push @logsummary, shift
+ } until $_[0] =~ /^\s*\w+:/ or not defined $_[0];
# votes
unshift @votes, pop until $_[-1] =~ /^\s*Votes:/ or not defined $_[-1];