Changeset View
Changeset View
Standalone View
Standalone View
src/land/engine/ArcanistLandEngine.php
Show First 20 Lines • Show All 1,453 Lines • ▼ Show 20 Lines | private function selectMergeStrategy() { | ||||
$strategy = $this->getStrategyFromConfiguration(); | $strategy = $this->getStrategyFromConfiguration(); | ||||
if ($strategy !== null) { | if ($strategy !== null) { | ||||
if (!isset($supported_strategies[$strategy])) { | if (!isset($supported_strategies[$strategy])) { | ||||
throw new PhutilArgumentUsageException( | throw new PhutilArgumentUsageException( | ||||
pht( | pht( | ||||
'Merge strategy "%s" specified in "%s" configuration is '. | 'Merge strategy "%s" specified in "%s" configuration is '. | ||||
'unknown. Supported merge strategies are: %s.', | 'unknown. Supported merge strategies are: %s.', | ||||
$strategy, | $strategy, | ||||
$this->getStrategyConfigurationKey(), | |||||
$strategy_list)); | $strategy_list)); | ||||
} | } | ||||
$log->writeStatus( | $log->writeStatus( | ||||
pht('STRATEGY'), | pht('STRATEGY'), | ||||
pht( | pht( | ||||
'Merging with "%s" strategy, configured with "%s".', | 'Merging with "%s" strategy, configured with "%s".', | ||||
$strategy, | $strategy, | ||||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |