--- 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 '