Add user-configurable option to suppress git, mercurial, and perforce warnings.

Review Request #8638 — Created Jan. 20, 2017 and submitted — Latest diff uploaded

Information

RBTools
master
0f8e84c...

Reviewers

Prior to this change, it was not possible for the user to suppress warnings from git, mercurial, and perforce. This could result in a large number of warning messages output to the log which can be cumbersome and fill up the console window.

This change allows the user to suppress warnings from rbtools/clients/git.py, rbtools/clients/mercurial.py, and rbtools/clients/perforce.py by setting SUPPRESS_CLIENT_WARNINGS in .reviewboardrc to True.

Checked that the warning message in git.py is suppressed when the SUPPRESS_CLIENT_WARNINGS is set to True.

    Loading...