ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r675190 - /ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorUpdater.java
Date Wed, 09 Jul 2008 14:31:20 GMT
Author: xavier
Date: Wed Jul  9 07:31:19 2008
New Revision: 675190

URL: http://svn.apache.org/viewvc?rev=675190&view=rev
Log:
fix bug with branch management on deliver, which was causing unit test to fail (related to
IVY-859)

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorUpdater.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorUpdater.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorUpdater.java?rev=675190&r1=675189&r2=675190&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorUpdater.java
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorUpdater.java
Wed Jul  9 07:31:19 2008
@@ -533,7 +533,7 @@
 
             write("<info organisation=\"" + XMLHelper.escape(systemMid.getOrganisation())

                 + "\" module=\"" + XMLHelper.escape(systemMid.getName()) + "\"");
-            if (systemMid.getBranch() != null) {
+            if (branch != null) {
                 write(" branch=\"" + XMLHelper.escape(systemMid.getBranch()) + "\"");
             }
             if (systemMid.getRevision() != null) {



Mime
View raw message