Changeset View
Changeset View
Standalone View
Standalone View
src/repository/hookapi/ArcanistSubversionHookAPI.php
| Show All 26 Lines | final class ArcanistSubversionHookAPI extends ArcanistHookAPI { | ||||
| public function getUpstreamFileData($path) { | public function getUpstreamFileData($path) { | ||||
| list($err, $file) = exec_manual( | list($err, $file) = exec_manual( | ||||
| 'svnlook cat %s %s', | 'svnlook cat %s %s', | ||||
| $this->repository, | $this->repository, | ||||
| $this->root."/$path"); | $this->root."/$path"); | ||||
| return ($err ? null : $file); | return ($err ? null : $file); | ||||
| } | } | ||||
| } | } | ||||