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