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 2011/12/13 17:09:48 UTC
svn commit: r1213762 - /subversion/trunk/tools/dist/backport.pl
Author: danielsh
Date: Tue Dec 13 16:09:48 2011
New Revision: 1213762
URL: http://svn.apache.org/viewvc?rev=1213762&view=rev
Log:
* tools/dist/backport.pl
(main): Untested attempt to skip directly to the meat of the file.
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=1213762&r1=1213761&r2=1213762&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Tue Dec 13 16:09:48 2011
@@ -203,11 +203,13 @@ sub main {
usage, exit 0 if @ARGV;
usage, exit 1 unless -r $STATUS;
+ my $sawapproved;
@ARGV = $STATUS;
while (<>) {
my @lines = split /\n/;
# Section header?
+ next unless $sawapproved ||= /^Approved changes/;
print "\n\n=== $lines[0]" and next if $lines[0] =~ /^[A-Z].*:$/i;
# Backport entry?