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/08 16:18:54 UTC

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

Author: danielsh
Date: Mon Jul  8 14:18:53 2013
New Revision: 1500749

URL: http://svn.apache.org/r1500749
Log:
Follow-up to r1500699:

* tools/dist/backport.pl
  (vote): Fix the "add blank line" logic.

Found by: stefan2

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=1500749&r1=1500748&r2=1500749&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Mon Jul  8 14:18:53 2013
@@ -351,7 +351,7 @@ sub vote {
     (exists $approved->{$.}) ? ($raw_approved .= $_) : (print VOTES);
   }
   close STATUS;
-  print VOTES "\n" if $raw_approved and $had_empty_line;
+  print VOTES "\n" if $raw_approved and !$had_empty_line;
   print VOTES $raw_approved;
   close VOTES;
   die "Some vote chunks weren't found: "