subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1296585 - /subversion/trunk/tools/dist/backport.pl
Date Sat, 03 Mar 2012 08:01:06 GMT
Author: danielsh
Date: Sat Mar  3 08:01:06 2012
New Revision: 1296585

URL: http://svn.apache.org/viewvc?rev=1296585&view=rev
Log:
* tools/dist/backport.pl
  (parse_entry): Yet another regex fix.

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=1296585&r1=1296584&r2=1296585&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Sat Mar  3 08:01:06 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+)[,; ]+//) {
+    while ($_[0] =~ s/^r(\d+)(?:$|[,; ]+)//) {
       push @revisions, $1;
     }
     shift;



Mime
View raw message