commit f2df5ac639cadfc492ea1edd797829802242b86e
Author: Randy Fay <randy@randyfay.com>
Date:   Wed Mar 23 09:40:52 2011 -0600

    Issue #1081082 by rfay: Git clone failed in testing because pifr_drupal.client.inc was trying to do the checkout and client.inc was also doing it

diff --git a/review/drupal/pifr_drupal.client.inc b/review/drupal/pifr_drupal.client.inc
index 91f220b..90b31bf 100644
--- a/review/drupal/pifr_drupal.client.inc
+++ b/review/drupal/pifr_drupal.client.inc
@@ -97,69 +97,8 @@ class pifr_client_review_pifr_drupal extends pifr_client_review {
       $this->arguments['test.directory.dependency'] = $this->module_directory;
       $this->arguments['test.directory.apply'] = $this->module_directory . '/' . $this->project_directory;
     }
-    if (PIFR_DEBUG) {
-      $this->log(t('Dependencies and directories after pifr_drupal construct: project_directory=%project_directory, vcs=<pre>%vcs</pre>, arguments=<pre>%arguments</pre>', array('%project_directory' => $this->project_directory, '%vcs' => print_r($this->test['vcs'], TRUE), '%arguments' => print_r($this->arguments, TRUE))));
-    }
-  }
-
-  /**
-   * Checkout dependencies into the modules directory.
-   */
-  protected function checkout() {
-    // Checkout Drupal core.
-    parent::checkout();
-
-    if (!$this->has_error()) {
-      // Checkout modules if specified.
-      if (!empty($this->test['vcs']['dependencies'])) {
-        $directory = $this->checkout_directory . '/' . $this->module_directory;
-        $this->log('checkout_directory=' . $this->checkout_directory. '; module_directory=' . $this->module_directory);
-        if (!file_check_directory($directory, FILE_CREATE_DIRECTORY)) {
-          $this->set_error(array('@reason' => 'failed to create directory ' . $directory));
-          return;
-        }
-
-        // Checkout module dependencies into the modules directory.
-        $this->checkout_dependencies($this->test['vcs']['dependencies']);
-      }
-    }
-  }
-
-  /**
-   * Checkout the list of dependencies into the modules directory.
-   *
-   * @param array $dependencies List of dependencies VCS information.
-   */
-  protected function checkout_dependencies(array $dependencies) {
-    $directory = $this->checkout_directory . '/' . $this->module_directory;
-    $this->log('checkout_dependencies(): directory=' . $directory . ' dependencies=' . print_r($dependencies));
-    foreach ($dependencies as $dependency) {
-      $this->checkout_branch($dependency, $directory);
-
-      $display = $this->checkout_display($dependency);
-      if ($this->has_error()) {
-        $this->log('Dependency [' . $display . '] checkout into [' . $directory . '] failed.');
-        break;
-      }
-
-      $this->log('Dependency [' . $display . '] checkout into [' . $directory . '] complete.');
-    }
   }
 
-  /**
-   * Apply patches to dependencies in the modules directory.
-   */
-  protected function apply($directory = NULL, array $files = array()) {
-    if ($directory || $files) {
-      // Passthru.
-      parent::apply($directory, $files);
-    }
-    else {
-      // Called as operation.
-      $directory = !empty($this->test['vcs']['dependencies']) ? $this->module_directory . '/' . $this->project_directory : NULL;
-      parent::apply($this->checkout_directory . '/' . $directory);
-    }
-  }
 
   /**
    * Get the relevant files to check for syntax.
