--- a/hgext/histedit.py Wed Jul 24 23:51:44 2013 -0500
+++ b/hgext/histedit.py Wed Jul 24 23:51:44 2013 -0500
@@ -512,6 +512,7 @@
os.unlink(os.path.join(repo.path, 'histedit-state'))
return
else:
+ cmdutil.checkunfinished(repo)
cmdutil.bailifchanged(repo)
topmost, empty = repo.dirstate.parents()
@@ -872,3 +873,6 @@
def extsetup(ui):
cmdutil.summaryhooks.add('histedit', summaryhook)
+ cmdutil.unfinishedstates.append(
+ ['histedit-state', False, _('histedit in progress'),
+ _("use 'hg histedit --continue' or 'hg histedit --abort'")])