geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r511413 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
Date Sun, 25 Feb 2007 02:55:07 GMT
Author: jdillon
Date: Sat Feb 24 18:55:07 2007
New Revision: 511413

URL: http://svn.apache.org/viewvc?view=rev&rev=511413
Log:
Handle issues when 'svn co' did not complete (say because someone killed the power to the
machine!)

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy?view=diff&rev=511413&r1=511412&r2=511413
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
Sat Feb 24 18:55:07 2007
@@ -136,6 +136,12 @@
         def rcommit = lastCommit(sourceURL)
         def lcommit = lastCommit(baseDir)
         
+        // If the checkout was not complete, then the commit details will be missing
+        if (lcommit == null) {
+            // So force an update to be made to fully sync the workspace
+            return false
+        }
+        
         return rcommit.'@revision' == lcommit.'@revision'
     }
     



Mime
View raw message