Submitter | Augie Fackler |
---|---|
Date | Aug. 30, 2016, 8:16 p.m. |
Message ID | <c65c0181a9885d3c95e8.1472588177@arthedain.pit.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/16490/ |
State | Changes Requested |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -896,7 +896,8 @@ def bisect(ui, repo, rev=None, extra=Non bad = True else: reset = True - elif extra or good + bad + skip + reset + extend + bool(command) > 1: + elif extra or sum(1 for b in (good, bad, skip, + reset, extend, command) if b) > 1: raise error.Abort(_('incompatible arguments')) cmdutil.checkunfinished(repo)