subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1500701 - /subversion/trunk/tools/dist/backport.pl
Date Mon, 08 Jul 2013 12:50:47 GMT
Author: danielsh
Date: Mon Jul  8 12:50:47 2013
New Revision: 1500701

URL: http://svn.apache.org/r1500701
Log:
* tools/dist/backport.pl
  (handle_entry): Don't log an edit if it was a no-op.

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=1500701&r1=1500700&r2=1500701&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Mon Jul  8 12:50:47 2013
@@ -529,8 +529,10 @@ sub handle_entry {
         say "Your '$1' vote has been recorded." if $VERBOSE;
       }
       when (/^e/i) {
+        my $original = $entry{raw};
         $entry{raw} = edit_string $entry{raw}, $entry{header};
-        $votes->{$.} = ['edit', \%entry]; # marker for the 2nd pass
+        $votes->{$.} = ['edit', \%entry] # marker for the 2nd pass
+            if $original ne $entry{raw};
       }
       when (/^N/i) {
         $state->{$entry{digest}}++;



Mime
View raw message