Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistRepositoryAPI.php
| Show First 20 Lines • Show All 651 Lines • ▼ Show 20 Lines | /* -( Base Commits )------------------------------------------------------- */ | ||||
| public function resolveBaseCommit() { | public function resolveBaseCommit() { | ||||
| $base_commit_rules = array( | $base_commit_rules = array( | ||||
| 'runtime' => $this->getBaseCommitArgumentRules(), | 'runtime' => $this->getBaseCommitArgumentRules(), | ||||
| 'local' => '', | 'local' => '', | ||||
| 'project' => '', | 'project' => '', | ||||
| 'user' => '', | 'user' => '', | ||||
| 'system' => '', | 'system' => '', | ||||
| ); | ); | ||||
| $all_sources = $this->configurationManager->getConfigFromAllSources('base'); | |||||
| $base_commit_rules = $all_sources + $base_commit_rules; | // TOOLSETS: Handle "base" configuration. | ||||
| $parser = new ArcanistBaseCommitParser($this); | $parser = new ArcanistBaseCommitParser($this); | ||||
| $commit = $parser->resolveBaseCommit($base_commit_rules); | $commit = $parser->resolveBaseCommit($base_commit_rules); | ||||
| return $commit; | return $commit; | ||||
| } | } | ||||
| public function getRepositoryUUID() { | public function getRepositoryUUID() { | ||||
| Show All 12 Lines | |||||