# HG changeset patch # User Boris Feld # Date 1537991489 -7200 # Node ID b153ca77a52baaf5a663f646dc06af91116177a4 # Parent 8bd589aecf656b419434b9a69fe8430539f2e560 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. diff -r 8bd589aecf65 -r b153ca77a52b hgext/histedit.py --- a/hgext/histedit.py Sun Sep 30 01:15:46 2018 -0400 +++ b/hgext/histedit.py Wed Sep 26 21:51:29 2018 +0200 @@ -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