You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2007/02/25 03:55:07 UTC
svn commit: r511413 -
/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
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'
}