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/07 17:53:28 UTC
svn commit: r1500462 - /subversion/trunk/tools/dist/backport.pl
Author: danielsh
Date: Sun Jul 7 15:53:28 2013
New Revision: 1500462
URL: http://svn.apache.org/r1500462
Log:
* tools/dist/backport.pl: Rename a variable for clarity. No functional change.
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=1500462&r1=1500461&r2=1500462&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Sun Jul 7 15:53:28 2013
@@ -234,7 +234,7 @@ sub sanitize_branch {
# TODO: may need to parse other headers too?
sub parse_entry {
- my $lines = shift;
+ my $raw = shift;
my @lines = @_;
my (@revisions, @logsummary, $branch, @votes);
# @lines = @_;
@@ -286,7 +286,7 @@ sub parse_entry {
id => $id,
votes => [@votes],
entry => [@lines],
- raw => $lines,
+ raw => $raw,
);
}
@@ -411,8 +411,8 @@ sub handle_entry {
my $in_approved = shift;
my $approved = shift;
my $votes = shift;
- my $lines = shift;
- my %entry = parse_entry $lines, @_;
+ my $raw = shift;
+ my %entry = parse_entry $raw, @_;
my @vetoes = grep { /^ -1:/ } @{$entry{votes}};
if ($YES) {