subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1519742 - /subversion/trunk/tools/dist/backport.pl
Date Tue, 03 Sep 2013 16:10:27 GMT
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:/) {



Mime
View raw message