Changeset View
Changeset View
Standalone View
Standalone View
src/land/engine/ArcanistLandEngine.php
| Show First 20 Lines • Show All 1,542 Lines • ▼ Show 20 Lines | private function filterCommitSets(array $sets) { | ||||
| // TODO: Some of the revisions we've identified may be mapped to an | // TODO: Some of the revisions we've identified may be mapped to an | ||||
| // outdated set of commits. We should look in local branches for a better | // outdated set of commits. We should look in local branches for a better | ||||
| // set of commits, and try to confirm that the state we're about to land | // set of commits, and try to confirm that the state we're about to land | ||||
| // is the current state in Differential. | // is the current state in Differential. | ||||
| return $sets; | return $sets; | ||||
| } | } | ||||
| final protected function newPassthru($pattern /* , ... */) { | |||||
| $workflow = $this->getWorkflow(); | |||||
| $argv = func_get_args(); | |||||
| $api = $this->getRepositoryAPI(); | |||||
| $passthru = call_user_func_array( | |||||
| array($api, 'newPassthru'), | |||||
| $argv); | |||||
| $command = $workflow->newCommand($passthru) | |||||
| ->setResolveOnError(true); | |||||
| return $command->execute(); | |||||
| } | |||||
| } | } | ||||