Commit 61538e2d authored by Anton Shestakov's avatar Anton Shestakov
Browse files

obshistory: rename precursors to predecessors in displayrevs()

parent f5d9b5771b45
......@@ -438,7 +438,7 @@
""" Display the obsolescence history for revset
"""
fm = ui.formatter(b'debugobshistory', pycompat.byteskwargs(opts))
precursors = repo.obsstore.predecessors
predecessors = repo.obsstore.predecessors
successors = repo.obsstore.successors
nodec = repo.changelog.node
unfi = repo.unfiltered()
......@@ -461,8 +461,8 @@
markerfm.end()
fm.plain(b'\n')
precs = precursors.get(ctxnode, ())
for p in sorted(precs):
preds = predecessors.get(ctxnode, ())
for p in sorted(preds):
# Only show nodes once
if p[0] not in seen:
seen.add(p[0])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment