Differential D16575 Diff 39896 src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Lines | private function abortPull($message, Exception $ex = null) { | ||||
if ($ex) { | if ($ex) { | ||||
throw $ex; | throw $ex; | ||||
} else { | } else { | ||||
throw new Exception($message); | throw new Exception($message); | ||||
} | } | ||||
} | } | ||||
private function logPull($message) { | private function logPull($message) { | ||||
$code_working = PhabricatorRepositoryStatusMessage::CODE_WORKING; | |||||
$this->updateRepositoryInitStatus($code_working, $message); | |||||
$this->log('%s', $message); | $this->log('%s', $message); | ||||
} | } | ||||
private function donePull() { | private function donePull() { | ||||
$code_okay = PhabricatorRepositoryStatusMessage::CODE_OKAY; | $code_okay = PhabricatorRepositoryStatusMessage::CODE_OKAY; | ||||
$this->updateRepositoryInitStatus($code_okay); | $this->updateRepositoryInitStatus($code_okay); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 418 Lines • Show Last 20 Lines |