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
1ed3e1f2d2c3
Commit
1ed3e1f2
authored
Apr 21, 2021
by
Anton Shestakov
Browse files
next: make aspchildren filtering code work correctly
`aspchildren` contains revs, not contexts.
parent
cd344c0c89f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
hgext3rd/evolve/__init__.py
View file @
1ed3e1f2
...
...
@@ -857,9 +857,9 @@
needevolve
=
False
aspchildren
=
evolvecmd
.
_aspiringchildren
(
repo
,
[
repo
[
b
'.'
].
rev
()])
if
topic
:
filtered
.
update
(
repo
[
c
]
for
c
in
aspchildren
if
repo
[
c
].
topic
()
!=
topic
)
aspchildren
=
[
ctx
for
ctx
in
aspchildren
if
ctx
not
in
filtered
]
filtered
.
update
(
repo
[
rev
]
for
rev
in
aspchildren
if
repo
[
rev
].
topic
()
!=
topic
)
aspchildren
=
[
rev
for
rev
in
aspchildren
if
repo
[
rev
]
not
in
filtered
]
# To catch and prevent the case when `next` would get confused by split,
# lets filter those aspiring children which can be stablized on one of
...
...
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