--- a/hgext/histedit.py Sat May 16 14:31:03 2015 -0400
+++ b/hgext/histedit.py Sat May 16 14:30:07 2015 -0400
@@ -707,15 +707,15 @@
if force and not outg:
raise util.Abort(_('--force only allowed with --outgoing'))
if cont:
- if util.any((outg, abort, revs, freeargs, rules, editplan)):
+ if any((outg, abort, revs, freeargs, rules, editplan)):
raise util.Abort(_('no arguments allowed with --continue'))
goal = 'continue'
elif abort:
- if util.any((outg, revs, freeargs, rules, editplan)):
+ if any((outg, revs, freeargs, rules, editplan)):
raise util.Abort(_('no arguments allowed with --abort'))
goal = 'abort'
elif editplan:
- if util.any((outg, revs, freeargs)):
+ if any((outg, revs, freeargs)):
raise util.Abort(_('only --commands argument allowed with '
'--edit-plan'))
goal = 'edit-plan'