Show More
@@ -2046,11 +2046,11 b' def _finishhistedit(ui, repo, state, fm)' | |||||
2046 | mapping[n] = () |
|
2046 | mapping[n] = () | |
2047 |
|
2047 | |||
2048 | # remove entries about unknown nodes |
|
2048 | # remove entries about unknown nodes | |
2049 |
node |
|
2049 | has_node = repo.unfiltered().changelog.index.has_node | |
2050 | mapping = { |
|
2050 | mapping = { | |
2051 | k: v |
|
2051 | k: v | |
2052 | for k, v in mapping.items() |
|
2052 | for k, v in mapping.items() | |
2053 |
if k |
|
2053 | if has_node(k) and all(has_node(n) for n in v) | |
2054 | } |
|
2054 | } | |
2055 | scmutil.cleanupnodes(repo, mapping, b'histedit') |
|
2055 | scmutil.cleanupnodes(repo, mapping, b'histedit') | |
2056 | hf = fm.hexfunc |
|
2056 | hf = fm.hexfunc |
General Comments 0
You need to be logged in to leave comments.
Login now