1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

Fix arc which for svn repos

Summary:
`arc which` is currently broken for svn repos.

Fixes T6635

(I think I independently wrote an identical change to yours)

Test Plan: `∴../../p/arcanist/bin/arc which` on a svn repo.

Reviewers: aik099, epriestley, #blessed_reviewers

Reviewed By: aik099, epriestley, #blessed_reviewers

Subscribers: aik099, Korvin

Maniphest Tasks: T6635

Differential Revision: https://secure.phabricator.com/D15922
This commit is contained in:
epriestley 2016-05-16 12:54:37 +00:00 committed by eadler
parent c58f1b9a25
commit 2234c8cacc

View file

@ -651,7 +651,7 @@ EODIFF;
$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]);
} }
} }