Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/ssh/DiffusionGitSSHWorkflow.php
| <?php | <?php | ||||
| abstract class DiffusionGitSSHWorkflow | abstract class DiffusionGitSSHWorkflow | ||||
| extends DiffusionSSHWorkflow | extends DiffusionSSHWorkflow | ||||
| implements DiffusionRepositoryClusterEngineLogInterface { | implements DiffusionRepositoryClusterEngineLogInterface { | ||||
| protected function writeError($message) { | protected function writeError($message) { | ||||
| // Git assumes we'll add our own newlines. | // Git assumes we'll add our own newlines. | ||||
| return parent::writeError($message."\n"); | return parent::writeError($message."\n"); | ||||
| } | } | ||||
| public function writeClusterEngineLogMessage($message) { | public function writeClusterEngineLogMessage($message) { | ||||
| parent::writeError($message); | parent::writeError($message); | ||||
| $this->getErrorChannel()->update(); | |||||
| } | } | ||||
| protected function identifyRepository() { | protected function identifyRepository() { | ||||
| $args = $this->getArgs(); | $args = $this->getArgs(); | ||||
| $path = head($args->getArg('dir')); | $path = head($args->getArg('dir')); | ||||
| return $this->loadRepositoryWithPath($path); | return $this->loadRepositoryWithPath($path); | ||||
| } | } | ||||
| Show All 14 Lines | |||||