maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mper...@apache.org
Subject svn commit: r365723 - /maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/checkout/PerforceCheckOutConsumer.java
Date Tue, 03 Jan 2006 19:54:54 GMT
Author: mperham
Date: Tue Jan  3 11:54:37 2006
New Revision: 365723

URL: http://svn.apache.org/viewcvs?rev=365723&view=rev
Log:
Handle checkout with no changes

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/checkout/PerforceCheckOutConsumer.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/checkout/PerforceCheckOutConsumer.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/checkout/PerforceCheckOutConsumer.java?rev=365723&r1=365722&r2=365723&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/checkout/PerforceCheckOutConsumer.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/checkout/PerforceCheckOutConsumer.java
Tue Jan  3 11:54:37 2006
@@ -88,6 +88,12 @@
             currentState = STATE_NORMAL;
             return;
         }
+        
+        // Handle case where the clientspec is current
+        if ( currentState == STATE_NORMAL && line.indexOf( "file(s) up-to-date" )
!= -1 ) 
+        {
+            return;
+        }
 
         if ( currentState != STATE_ERROR && fileRegexp.match( line ) )
         {



Mime
View raw message