changeset 46111:9e24b3d8e896

debugdiscovery: fix swapped heads and roots Patch provided without comment… Differential Revision: https://phab.mercurial-scm.org/D9566
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 11 Dec 2020 15:25:11 +0100
parents d90f439ff19f
children d6afa9c149c3
files mercurial/debugcommands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Fri Dec 11 12:51:09 2020 +0100
+++ b/mercurial/debugcommands.py	Fri Dec 11 15:25:11 2020 +0100
@@ -1058,8 +1058,8 @@
     data[b'nb-revs'] = len(all)
     data[b'nb-revs-common'] = len(common)
     data[b'nb-revs-missing'] = len(missing)
-    data[b'nb-missing-heads'] = len(roots_missing)
-    data[b'nb-missing-roots'] = len(heads_missing)
+    data[b'nb-missing-heads'] = len(heads_missing)
+    data[b'nb-missing-roots'] = len(roots_missing)
     data[b'nb-ini_und'] = len(initial_undecided)
     data[b'nb-ini_und-heads'] = len(heads_initial_undecided)
     data[b'nb-ini_und-roots'] = len(roots_initial_undecided)