public function getLocalCVSPath()
{
return sprintf('%s/%s', DEPLOYNAUT_LOCAL_VCS_PATH, $this->Name);
}
protected function cloneRepo() { if (file_exists($this->project->getLocalCVSPath())) { $this->runCommand(sprintf('rm -rf %s', escapeshellarg($this->project->getLocalCVSPath()))); } $this->runCommand(sprintf('/usr/bin/git clone --bare -q %s %s', escapeshellarg($this->project->CVSPath), escapeshellarg($this->project->getLocalCVSPath()))); }