Skip to content
Snippets Groups Projects
Commit b153ca77 authored by Boris Feld's avatar Boris Feld
Browse files

histedit: don't cleanup nodes already disposed of

If something else took care of these temporary nodes, we don't need to do
anything about it. This less liberal usage of pruning through cleanup nodes
will help us further cleanup on the road to explicitly tracks folds.
parent 8bd589ae
No related merge requests found
......@@ -1202,7 +1202,8 @@
mapping = {}
for n in tmpnodes:
mapping[n] = ()
if n in repo:
mapping[n] = ()
# remove entries about unknown nodes
nodemap = repo.unfiltered().changelog.nodemap
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment