mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 14:51:06 +01:00
Fix an issue where known Subversion commits are incorrectly shown as "Discovering..."
Summary: Ref T13552. The behavior of "RepositoryQuery" with ambiguous identifiers under "withRepositoryPHIDs()" is tricky. This leads to failure to load commits in Subversion in some cases. Use "withRepository()", which gives us the correct identifier resolution behavior. Test Plan: Viewed a subversion repository history in Diffusion, saw commit details after change. Maniphest Tasks: T13552 Differential Revision: https://secure.phabricator.com/D21469
This commit is contained in:
parent
f21a00a315
commit
58d3f6145a
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ final class DiffusionCommitGraphView
|
|||
|
||||
$commits = id(new DiffusionCommitQuery())
|
||||
->setViewer($viewer)
|
||||
->withRepositoryPHIDs(array($repository->getPHID()))
|
||||
->withRepository($repository)
|
||||
->withIdentifiers($identifiers)
|
||||
->needCommitData(true)
|
||||
->needIdentities(true)
|
||||
|
|
Loading…
Reference in a new issue