geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r511435 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
Date Sun, 25 Feb 2007 03:42:57 GMT
Author: jdillon
Date: Sat Feb 24 19:42:57 2007
New Revision: 511435

URL: http://svn.apache.org/viewvc?view=rev&rev=511435
Log:
Only use --non-iteractive for commands that support it... cleanup does not (lame)

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=511435&r1=511434&r2=511435
==============================================================================
--- 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 19:42:57 2007
@@ -58,7 +58,14 @@
         
         ant.exec(executable: 'svn', dir: baseDir, failonerror: true) {
             arg(value: command)
-            arg(value: '--non-interactive')
+            
+            //
+            // HACK: Only apply --non-interactive to commands that support it
+            //
+            if (!(command in ['cleanup'])) {
+                arg(value: '--non-interactive')
+            }
+            
             args.each {
                 arg(value: "$it")
             }



Mime
View raw message