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/03/27 19:56:27 UTC

svn commit: r1461798 - /subversion/trunk/tools/dist/backport.pl

Author: danielsh
Date: Wed Mar 27 18:56:27 2013
New Revision: 1461798

URL: http://svn.apache.org/r1461798
Log:
* tools/dist/backport.pl
  (main): Trap the r1461405 failure mode.
    In r1461405, @lines contained two entries because the blank line
    between them contained whitespace, which Perl's paragraph mode
    does not recognise as a paragraph separator.

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=1461798&r1=1461797&r2=1461798&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Wed Mar 27 18:56:27 2013
@@ -257,6 +257,8 @@ sub main {
       }
       # Backport entry?
       when (/^ \*/) {
+        warn "Too many bullets in $lines[0]" and next
+          if grep /^ \*/, @lines[1..$#lines];
         handle_entry @lines;
       }
       default {