conandeps: spell out each branch's path on indirect nodes in the tree

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYNdaGDrpaqDyT8QtrTQbM
This commit is contained in:
Ole-Morten Duesund 2026-08-25 15:45:48 +02:00
commit a7db279fb0
3 changed files with 11 additions and 4 deletions

View file

@ -450,6 +450,8 @@ def _tree_lines(report: Report) -> List[str]:
lines.append(prefix + branch + name + " (not in graph)")
return
tags = []
if seen: # indirect: spell out this branch's path so indentation need not be counted
tags.append(" -> ".join(seen + (name,)))
if dep.build_require:
tags.append("build-require")
ov = edge_overrides.get((parent, name))