commit = $commit; return $this; } public function withPath($path) { $this->path = $path; return $this; } protected function executeQuery() { $repository = $this->getRepository(); $path = $this->path; $commit = $this->commit; $match_against = trim($path, '/'); $prefix = trim('./'.$match_against, '/'); list($entire_manifest) = $repository->execxLocalCommand( 'locate --print0 --rev %s -I %s', hgsprintf('%s', $commit), $prefix); return explode("\0", $entire_manifest); } }