Let user specify search path for .reviewboardrc
Review Request #7679 — Created Oct. 6, 2015 and submitted — Latest diff uploaded
If a user sets $RBTOOLS_CONFIG_PATH, it should contain a list of paths
separated by the characters conventionally used for this on the
operating system (":" on Linux, Mac OS X, ";" on Windows). These paths
are searched first for .reviewboardrc and can be used to override
repository-wide settings.
Reviewed at https://reviews.reviewboard.org/r/7679/
Ran
RBTOOLS_CONFIG_PATH=$HOME rbt statusin a project directory withREVIEWBOARD_URLset tohttp://127.0.0.1in$HOME/.reviewboardrc, got:ERROR: Unexpected API Error: HTTP 404Confirmed that it picks up the private
.reviewboardrcfirst.