debugnamecomplete: include remotenames

Summary: Recently D44515578 removed remotenames from the set of names, but internal internal tooling was depending on that.

Reviewed By: fanzeyi

Differential Revision: D44694398

fbshipit-source-id: e0a130c04c803e51a6e7f8a284b572047ffc0ee9
This commit is contained in:
Muir Manders 2023-04-05 08:27:16 -07:00 committed by Facebook GitHub Bot
parent 06c3d8a71b
commit 7eee965002

View File

@ -2445,7 +2445,7 @@ def debugnamecomplete(ui, repo, *args, **opts) -> None:
# since we previously only listed open branches, we will handle that
# specially (after this for loop)
for name, ns in pycompat.iteritems(repo.names):
if name != "branches" and name != "remotebookmarks":
if name != "branches":
names.update(ns.listnames(repo))
age = ui.configint("zsh", "completion-age")