continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leahpar <raphael.pe...@free.fr>
Subject Re: continuum and perforce
Date Fri, 20 Apr 2007 14:34:41 GMT

Index:
main/java/org/apache/maven/scm/provider/perforce/command/changelog/PerforceChangeLogCommand.java

===================================================================

---
main/java/org/apache/maven/scm/provider/perforce/command/changelog/PerforceChangeLogCommand.java
(revision 529895)

+++
main/java/org/apache/maven/scm/provider/perforce/command/changelog/PerforceChangeLogCommand.java
(working copy)

@@ -53,7 +53,7 @@

                                                           String
datePattern )
         throws ScmException
     {
-        if ( branch != null || StringUtils.isNotEmpty( branch.getName() ) )
+        if ( branch != null && StringUtils.isNotEmpty( branch.getName() ) )
         {
             throw new ScmException( "This SCM doesn't support branches." );
         }
-- 
View this message in context: http://www.nabble.com/continuum-and-perforce-tf3603243.html#a10103235
Sent from the Continuum - Dev mailing list archive at Nabble.com.


Mime
View raw message