continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epunza...@apache.org
Subject svn commit: r500734 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
Date Sun, 28 Jan 2007 02:46:30 GMT
Author: epunzalan
Date: Sat Jan 27 18:46:30 2007
New Revision: 500734

URL: http://svn.apache.org/viewvc?view=rev&rev=500734
Log:
fixed possible NPE when scm is not SVN

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java?view=diff&rev=500734&r1=500733&r2=500734
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
Sat Jan 27 18:46:30 2007
@@ -301,8 +301,12 @@
             p.setProperty( "password", scmPassword );
         }
 
+        if ( StringUtils.isNotEmpty( scmTagBase ) )
+        {
+            p.setProperty( "tagBase", scmTagBase );
+        }
+
         p.setProperty( "tag", scmTag );
-        p.setProperty( "tagBase", scmTagBase );
         p.setProperty( "prepareGoals", prepareGoals );
 
         return p;
@@ -450,6 +454,6 @@
 
     public void validate()
     {
-        
+
     }
 }



Mime
View raw message