hgext/histedit.py
changeset 39914 b153ca77a52b
parent 38786 28d8b5f49b4d
child 40029 e2697acd9381
--- 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