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/09/03 18:10:27 UTC
svn commit: r1519742 - /subversion/trunk/tools/dist/backport.pl
Author: danielsh
Date: Tue Sep 3 16:10:27 2013
New Revision: 1519742
URL: http://svn.apache.org/r1519742
Log:
* tools/dist/backport.pl
(parse_entry): Permit [ and ] in headers to support the r1519737 use case,
namely, "Changes[dev]:" headers.
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=1519742&r1=1519741&r2=1519742&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Tue Sep 3 16:10:27 2013
@@ -367,13 +367,14 @@ sub parse_entry {
# summary
do {
push @logsummary, shift
- } until $_[0] =~ /^\s*\w+:/ or not defined $_[0];
+ } until $_[0] =~ /^\s*[][\w]+:/ or not defined $_[0];
# votes
unshift @votes, pop until $_[-1] =~ /^\s*Votes:/ or not defined $_[-1];
pop;
# depends, branch, notes
+ # Ignored headers: Changes[*]
while (@_) {
given (shift) {
when (/^Depends:/) {