[Anthill-dev] Anthill OS patch: svn-checkout-happens-twice

Jim Hague jim.hague at acm.org
Mon Oct 29 05:44:30 CST 2007


# HG changeset patch
# User Jim Hague <jim.hague at icc-atcsolutions.com>
# Date 1193654689 0
# Node ID d92cb5077023c8f20f6a6be66da40432f2b29ec6
# Parent  87e3f05138b53d785e2b885430b64d64d4fdd204
The Subversion getWorkingProjectCopy() calls its counterpart in the
superclass. Oops! This will cause the getWorkingProjectCopy .pgl to
run, and a checkout done. Back in the subclass, the same thing happens
again. So remove the superclass call.

diff -r 87e3f05138b5 -r d92cb5077023 
source/main/java/com/urbancode/anthill/adapter/SubversionRepositoryAdapter.java
--- 
a/source/main/java/com/urbancode/anthill/adapter/SubversionRepositoryAdapter.java	
Mon Oct 29 10:44:49 2007 +0000
+++ 
b/source/main/java/com/urbancode/anthill/adapter/SubversionRepositoryAdapter.java	
Mon Oct 29 10:44:49 2007 +0000
@@ -132,8 +132,6 @@ public class SubversionRepositoryAdapter
      */
     public void getWorkingProjectCopy(BuildDefinition def)
 	throws RepositoryException {
-	super.getWorkingProjectCopy(def);
-	
         log.debug("Getting working copy of project: " + 
project.getProjectName());
         Process p = null;
         StreamPumper errorPumper = null;

-- 
Jim Hague - jim.hague at acm.org          Never trust a computer you can't lift.


More information about the Anthill-dev mailing list