Differential D21510 Diff 51196 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 --format=%s %s --', | ||||
'%P', | '%P', | ||||
$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(); | ||||
list($stdout) = $repository->execxLocalCommand( | list($stdout) = $repository->execxLocalCommand( | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |