subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1823335 - /subversion/trunk/tools/dist/backport.pl
Date Tue, 06 Feb 2018 14:09:54 GMT
Author: julianfoad
Date: Tue Feb  6 14:09:54 2018
New Revision: 1823335

URL: http://svn.apache.org/viewvc?rev=1823335&view=rev
Log:
* tools/dist/backport.pl
  (nominate_main): If a 'Veto-blocked' header is not found, insert the
    nomination before the 'Approved' header instead.

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=1823335&r1=1823334&r2=1823335&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Tue Feb  6 14:09:54 2018
@@ -1279,7 +1279,7 @@ sub nominate_main {
   # Open the file in line-mode (not paragraph-mode).
   my @STATUS;
   tie @STATUS, "Tie::File", $STATUS, recsep => "\n";
-  my ($index) = grep { $STATUS[$_] =~ /^Veto/ } (0..$#STATUS);
+  my ($index) = grep { $STATUS[$_] =~ /^Veto|Approved/ } (0..$#STATUS);
   die "Couldn't find where to add an entry" unless $index;
 
   # Add an empty line if needed.



Mime
View raw message