subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1296140 - /subversion/trunk/tools/dist/backport.pl
Date Fri, 02 Mar 2012 11:10:16 GMT
Author: danielsh
Date: Fri Mar  2 11:10:15 2012
New Revision: 1296140

URL: http://svn.apache.org/viewvc?rev=1296140&view=rev
Log:
Fix a bug that lead to mis-parsing the r1292225 group, merged in r1293811.

* tools/dist/backport.pl
  (parse_entry): Tweak the regex.

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=1296140&r1=1296139&r2=1296140&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Fri Mar  2 11:10:15 2012
@@ -163,7 +163,7 @@ sub parse_entry {
   # revisions
   $branch = sanitize_branch $1 if $_[0] =~ /^(\S*) branch$/;
   while ($_[0] =~ /^r/) {
-    while ($_[0] =~ s/^r(\d+)(?:[,;]\s*)?//) {
+    while ($_[0] =~ s/^r(\d+)[,; ]+//) {
       push @revisions, $1;
     }
     shift;



Mime
View raw message