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 14:50:47 UTC

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

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}}++;