Differential D21511 Diff 51201 src/applications/diffusion/query/lowlevel/DiffusionLowLevelParentsQuery.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/query/lowlevel/DiffusionLowLevelParentsQuery.php
| Show All 31 Lines | protected function executeQuery() { | ||||
| return $result; | return $result; | ||||
| } | } | ||||
| private function loadGitParents() { | private function loadGitParents() { | ||||
| $repository = $this->getRepository(); | $repository = $this->getRepository(); | ||||
| list($stdout) = $repository->execxLocalCommand( | list($stdout) = $repository->execxLocalCommand( | ||||
| 'log -n 1 --format=%s %s --', | 'log -n 1 %s %s --', | ||||
| '%P', | '--format=%P', | ||||
| gitsprintf('%s', $this->identifier)); | gitsprintf('%s', $this->identifier)); | ||||
| return preg_split('/\s+/', trim($stdout)); | return preg_split('/\s+/', trim($stdout)); | ||||
| } | } | ||||
| private function loadMercurialParents() { | private function loadMercurialParents() { | ||||
| $repository = $this->getRepository(); | $repository = $this->getRepository(); | ||||
| ▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines | |||||