Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
evolve
Commits
61538e2db220
Commit
61538e2d
authored
Mar 11, 2020
by
Anton Shestakov
Browse files
obshistory: rename precursors to predecessors in displayrevs()
parent
f5d9b5771b45
Changes
1
Hide whitespace changes
Inline
Side-by-side
hgext3rd/evolve/obshistory.py
View file @
61538e2d
...
...
@@ -438,7 +438,7 @@
""" Display the obsolescence history for revset
"""
fm
=
ui
.
formatter
(
b
'debugobshistory'
,
pycompat
.
byteskwargs
(
opts
))
pre
cur
sors
=
repo
.
obsstore
.
predecessors
pre
deces
sors
=
repo
.
obsstore
.
predecessors
successors
=
repo
.
obsstore
.
successors
nodec
=
repo
.
changelog
.
node
unfi
=
repo
.
unfiltered
()
...
...
@@ -461,8 +461,8 @@
markerfm
.
end
()
fm
.
plain
(
b
'
\n
'
)
pre
c
s
=
pre
cur
sors
.
get
(
ctxnode
,
())
for
p
in
sorted
(
pre
c
s
):
pre
d
s
=
pre
deces
sors
.
get
(
ctxnode
,
())
for
p
in
sorted
(
pre
d
s
):
# Only show nodes once
if
p
[
0
]
not
in
seen
:
seen
.
add
(
p
[
0
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment