Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistSubversionAPI.php
| Show First 20 Lines • Show All 645 Lines • ▼ Show 20 Lines | EODIFF; | ||||
| public function loadWorkingCopyDifferentialRevisions( | public function loadWorkingCopyDifferentialRevisions( | ||||
| ConduitClient $conduit, | ConduitClient $conduit, | ||||
| array $query) { | array $query) { | ||||
| $results = $conduit->callMethodSynchronous('differential.query', $query); | $results = $conduit->callMethodSynchronous('differential.query', $query); | ||||
| foreach ($results as $key => $result) { | foreach ($results as $key => $result) { | ||||
| if ($result['sourcePath'] != $this->getPath()) { | if (idx($result, 'sourcePath') != $this->getPath()) { | ||||
| unset($results[$key]); | unset($results[$key]); | ||||
| } | } | ||||
| } | } | ||||
| foreach ($results as $key => $result) { | foreach ($results as $key => $result) { | ||||
| $results[$key]['why'] = pht('Matching working copy directory path.'); | $results[$key]['why'] = pht('Matching working copy directory path.'); | ||||
| } | } | ||||
| Show All 30 Lines | |||||