Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistSubversionAPI.php
| Show First 20 Lines • Show All 625 Lines • ▼ Show 20 Lines | EODIFF; | ||||
| public function supportsLocalBranchMerge() { | public function supportsLocalBranchMerge() { | ||||
| return false; | return false; | ||||
| } | } | ||||
| public function getFinalizedRevisionMessage() { | public function getFinalizedRevisionMessage() { | ||||
| // In other VCSes we give push instructions here, but it never makes sense | // In other VCSes we give push instructions here, but it never makes sense | ||||
| // in SVN. | // in SVN. | ||||
| return "Done."; | return 'Done.'; | ||||
| } | } | ||||
| public function loadWorkingCopyDifferentialRevisions( | public function loadWorkingCopyDifferentialRevisions( | ||||
| ConduitClient $conduit, | ConduitClient $conduit, | ||||
| array $query) { | array $query) { | ||||
| // We don't have much to go on in SVN, look for revisions that came from | // We don't have much to go on in SVN, look for revisions that came from | ||||
| // this directory and belong to the same project. | // this directory and belong to the same project. | ||||
| Show All 12 Lines | public function loadWorkingCopyDifferentialRevisions( | ||||
| foreach ($results as $key => $result) { | foreach ($results as $key => $result) { | ||||
| if ($result['sourcePath'] != $this->getPath()) { | if ($result['sourcePath'] != $this->getPath()) { | ||||
| unset($results[$key]); | unset($results[$key]); | ||||
| } | } | ||||
| } | } | ||||
| foreach ($results as $key => $result) { | foreach ($results as $key => $result) { | ||||
| $results[$key]['why'] = | $results[$key]['why'] = | ||||
| "Matching arcanist project name and working copy directory path."; | 'Matching arcanist project name and working copy directory path.'; | ||||
| } | } | ||||
| return $results; | return $results; | ||||
| } | } | ||||
| public function updateWorkingCopy() { | public function updateWorkingCopy() { | ||||
| $this->execxLocal('up'); | $this->execxLocal('up'); | ||||
| } | } | ||||
| Show All 24 Lines | |||||