Add global option no-reviewboard to stop from loading default settings

Review Request #9091 — Created July 19, 2017 and discarded

Information

RBTools
master

Reviewers

--no-reviewboardrc will stop the __init__.py file from loading the
default reviewboardrc files. Added a new gloabal option, which the
program will check for and the key wording of this global option in
argv, and will load_config if it is not in argv.

Ran the global function --no-reviewboardrc and checked to see that it did in fact not load the default settings and gave an error that it couldnt find Review Board Server for this source code tree. Also tested --noreviewboardrc and added a specific server (reviews.reviewboard.org), and it gave a correct result.

david
Review request changed

Status: Discarded

Loading...