Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistMercurialAPI.php
Show First 20 Lines • Show All 1,143 Lines • ▼ Show 20 Lines | $extended_args = call_user_func_array( | ||||
array($this, 'buildMercurialExtensionCommand'), | array($this, 'buildMercurialExtensionCommand'), | ||||
$args); | $args); | ||||
return call_user_func_array( | return call_user_func_array( | ||||
array($this, 'execPassthru'), | array($this, 'execPassthru'), | ||||
$extended_args); | $extended_args); | ||||
} | } | ||||
public function execManualLocalWithExtension( | |||||
$extension, | |||||
$pattern /* , ... */) { | |||||
$args = func_get_args(); | |||||
$extended_args = call_user_func_array( | |||||
array($this, 'buildMercurialExtensionCommand'), | |||||
$args); | |||||
return call_user_func_array( | |||||
array($this, 'execManualLocal'), | |||||
$extended_args); | |||||
} | |||||
private function executeMercurialFeatureTest($feature, $resolve) { | private function executeMercurialFeatureTest($feature, $resolve) { | ||||
if (array_key_exists($feature, $this->featureResults)) { | if (array_key_exists($feature, $this->featureResults)) { | ||||
return $this->featureResults[$feature]; | return $this->featureResults[$feature]; | ||||
} | } | ||||
if (!array_key_exists($feature, $this->featureFutures)) { | if (!array_key_exists($feature, $this->featureFutures)) { | ||||
$future = $this->newMercurialFeatureFuture($feature); | $future = $this->newMercurialFeatureFuture($feature); | ||||
$future->start(); | $future->start(); | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |