Changeset View
Changeset View
Standalone View
Standalone View
src/repository/state/ArcanistGitLocalState.php
Show All 36 Lines | protected function executeSaveLocalState() { | ||||
$this->localRef = $ref; | $this->localRef = $ref; | ||||
$this->localCommit = $commit; | $this->localCommit = $commit; | ||||
if ($ref !== null) { | if ($ref !== null) { | ||||
$this->localPath = $api->getPathToUpstream($ref); | $this->localPath = $api->getPathToUpstream($ref); | ||||
} | } | ||||
$log = $this->getWorkflow()->getLogEngine(); | $log = $this->getWorkflow()->getLogEngine(); | ||||
$log->writeStatus(pht('SAVE STATE'), $where); | $log->writeTrace(pht('SAVE STATE'), $where); | ||||
} | } | ||||
protected function executeRestoreLocalState() { | protected function executeRestoreLocalState() { | ||||
$api = $this->getRepositoryAPI(); | $api = $this->getRepositoryAPI(); | ||||
$log = $this->getWorkflow()->getLogEngine(); | $log = $this->getWorkflow()->getLogEngine(); | ||||
$ref = $this->localRef; | $ref = $this->localRef; | ||||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |