--- a/hgext/histedit.py Mon Mar 14 12:52:35 2016 +0000
+++ b/hgext/histedit.py Sun Mar 13 16:46:49 2016 -0700
@@ -1379,6 +1379,10 @@
missing = sorted(expected - seen) # sort to stabilize output
if state.repo.ui.configbool('histedit', 'dropmissing'):
+ if len(actions) == 0:
+ raise error.ParseError(_('no rules provided'),
+ hint=_('use strip extension to remove commits'))
+
drops = [drop(state, node.bin(n)) for n in missing]
# put the in the beginning so they execute immediately and
# don't show in the edit-plan in the future