public function resolveBaseCommit()
 {
     $base_commit_rules = array('runtime' => $this->getBaseCommitArgumentRules(), 'local' => '', 'project' => '', 'user' => '', 'system' => '');
     $all_sources = $this->configurationManager->getConfigFromAllSources('base');
     $base_commit_rules = $all_sources + $base_commit_rules;
     $parser = new ArcanistBaseCommitParser($this);
     $commit = $parser->resolveBaseCommit($base_commit_rules);
     return $commit;
 }
 public function resolveBaseCommit()
 {
     $working_copy = $this->getWorkingCopyIdentity();
     $global_config = ArcanistBaseWorkflow::readGlobalArcConfig();
     $system_config = ArcanistBaseWorkflow::readSystemArcConfig();
     $parser = new ArcanistBaseCommitParser($this);
     $commit = $parser->resolveBaseCommit(array('args' => $this->getBaseCommitArgumentRules(), 'local' => $working_copy->getLocalConfig('base', ''), 'project' => $working_copy->getConfig('base', ''), 'global' => idx($global_config, 'base', ''), 'system' => idx($system_config, 'base', '')));
     return $commit;
 }