protected function executeQuery()
protected function executeQuery()
Return
| wild |
public function setRepository($repository)Inherited
public function setRepository($repository)
Inherited
Parameters
| PhabricatorRepository | $repository |
Return
| wild |
public function getRepository()Inherited
public function getRepository()
Inherited
Return
| wild |
public function execute()Inherited
public function execute()
Inherited
Return
| wild |
protected function filterRefsByType($refs, $types)Inherited
protected function filterRefsByType($refs, $types)
Inherited
Parameters
| array | $refs | |
| array | $types |
Return
| wild |
public function withCommitRef($ref)
public function withCommitRef($ref)
Parameters
| DiffusionCommitRef | $ref |
Return
| wild |
public function getRevisionMatchData()
public function getRevisionMatchData()
Return
| wild |
private function setRevisionMatchData($key, $value)
private function setRevisionMatchData($key, $value)
Parameters
| $key | ||
| $value |
Return
| wild |
private function pickBestRevision($revisions)
private function pickBestRevision($revisions)
When querying for revisions by hash, more than one revision may be found. This function identifies the "best" revision from such a set. Typically, there is only one revision found. Otherwise, we try to pick an accepted revision first, followed by an open revision, and otherwise we go with a closed or abandoned revision as a last resort.
Parameters
| array | $revisions |
Return
| wild |