maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r351496 - /maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/checkout/PerforceCheckOutConsumer.java
Date Thu, 01 Dec 2005 22:02:41 GMT
Author: evenisse
Date: Thu Dec  1 14:02:37 2005
New Revision: 351496

URL: http://svn.apache.org/viewcvs?rev=351496&view=rev
Log:
PR: SCM-94
Submitted by: Mike Perham

Handle case where clientspec is unchanged

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=351496&r1=351495&r2=351496&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
Thu Dec  1 14:02:37 2005
@@ -80,7 +80,9 @@
      */
     public void consumeLine( String line )
     {
-        if ( currentState == STATE_CLIENTSPEC && line.startsWith( "Client " + specname
+ " saved." ) )
+        if ( currentState == STATE_CLIENTSPEC && 
+                ( line.startsWith( "Client " + specname + " saved." ) ||
+                  line.startsWith( "Client " + specname + " not changed." ) ) )
         {
             currentState = STATE_NORMAL;
             return;



Mime
View raw message