hgext/histedit.py
changeset 31527 6f0b7475cf9a
parent 31526 9d55494bd0db
child 31528 2b599f5468a4
--- a/hgext/histedit.py	Mon Mar 13 22:19:06 2017 -0700
+++ b/hgext/histedit.py	Mon Mar 13 22:22:18 2017 -0700
@@ -1209,8 +1209,8 @@
         if repo.unfiltered().revs('parents() and (%n  or %ln::)',
                                 state.parentctxnode, leafs | tmpnodes):
             hg.clean(repo, state.topmost, show_stats=True, quietempty=True)
-        cleanupnode(ui, repo, 'created', tmpnodes)
-        cleanupnode(ui, repo, 'temp', leafs)
+        safecleanupnode(ui, repo, 'created', tmpnodes)
+        safecleanupnode(ui, repo, 'temp', leafs)
     except Exception:
         if state.inprogress():
             ui.warn(_('warning: encountered an exception during histedit '