Author: jrthomerson
Date: Wed May 19 05:23:40 2010
New Revision: 946030

URL: http://svn.apache.org/viewvc?rev=946030&view=rev
Log:
fix script to not pull in trunk commits

Modified:
    wicket/branches/wicket-1.4.x/log-since-tag.pl

Modified: wicket/branches/wicket-1.4.x/log-since-tag.pl
URL: 
http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/log-since-tag.pl?rev=946030&r1=946029&r2=946030&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/log-since-tag.pl (original)
+++ wicket/branches/wicket-1.4.x/log-since-tag.pl Wed May 19 05:23:40 2010
@@ -45,11 +45,22 @@ while ( defined( $_ = <DATA> )  ) {
        }
 }
 close DATA;
-
 print "Last revision: " . $last . "\n\n";
 
+open DATA, "svn info |"   or die "Error running cmd: $!";
+
+my $thisVersionURL = '';
+while ( defined( $_ = <DATA> )  ) {
+       chomp();
+       #print "line: $_\n";
+       if ( /^URL: (http.*)/ ) {
+               $thisVersionURL = $1;
+       }
+}
+close DATA;
+print "This version's URL: $thisVersionURL";
 
-$cmd = "svn log " . $baseurl . " -r " . $last . ":HEAD";
+$cmd = "svn log " . $thisVersionURL . " -r " . $last . ":HEAD";
 open DATA, "$cmd |"   or die "Error running cmd: $!";
 
 while ( defined( $_ = <DATA> )  ) {


Reply via email to