mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Fix impropery history graph trace in Mercurial
Summary: Fixes T11267. This data was coming back weird (in reverse order relative to the graph itself). Previously it worked OK anyway, but the new logic is a little more sensitive to the input. Test Plan: Viewed a Mercurial repository with linear history, saw linear history. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11267 Differential Revision: https://secure.phabricator.com/D16229
This commit is contained in:
parent
ccc7c1b424
commit
2a1393c008
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ final class DiffusionHistoryQueryConduitAPIMethod
|
||||||
}
|
}
|
||||||
|
|
||||||
$hash_list = array_reverse($hash_list);
|
$hash_list = array_reverse($hash_list);
|
||||||
$this->parents = $parent_map;
|
$this->parents = array_reverse($parent_map, true);
|
||||||
|
|
||||||
return DiffusionQuery::loadHistoryForCommitIdentifiers(
|
return DiffusionQuery::loadHistoryForCommitIdentifiers(
|
||||||
$hash_list,
|
$hash_list,
|
||||||
|
|
Loading…
Reference in a new issue