• 
      

    Let user specify search path for .reviewboardrc

    Review Request #7679 — Created Oct. 6, 2015 and submitted — Latest diff uploaded

    Information

    RBTools
    master
    6c1524f...

    Reviewers

    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 status in a project directory with REVIEWBOARD_URL set to http://127.0.0.1 in $HOME/.reviewboardrc, got:

     ERROR: Unexpected API Error: HTTP 404
    

    Confirmed that it picks up the private .reviewboardrc first.