Make the --diff-filename and --update flags mutually exclusive.
Review Request #7358 — Created May 31, 2015 and submitted
When specifying an external diff file, we can't use --update to automatically
guess which review request to update. This change adds a check for that case.
Tried to run with both arguments and saw the error.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+17 -10) |
-
Tool: Pyflakes Processed Files: rbtools/commands/post.py Tool: PEP8 Style Checker Processed Files: rbtools/commands/post.py
-
-
-
-
rbtools/commands/post.py (Diff revisions 1 - 2) These parentheses are redundant because of the surrounding parenthesis from
CommandError
, no? -