3603: RBTools ~/.reviewboardrc overrides project settings

serg****@hotma****** (Google Code) (Is this you? Claim this profile.)
May 17, 2015
What version are you running?
RBTools-0.6.2-py2.7

What's the URL of the page containing the problem?
rbt command-line tool

What steps will reproduce the problem?
1. set REVIEWBOARD_URL to server1 in ~/.reviewboardrc
2. set REVIEWBOARD_URL to server2 in ~/2/.reviewboardrc
3. from ~/2 execute any rbt command with debug -d option.

What is the expected output? What do you see instead?
expected:
>>> Making HTTP GET request to server2
actual:
>>> Making HTTP GET request to server1

What operating system are you using? What browser?
Redhat Linux

Please provide any additional information below.

In rbtools/utils/filesystem.py, function get_config_paths(), line 154,
the configuration file is appended to the end of the list, rather then being inserted in front. The correct line should be
        config_paths.insert(0, filename)
david
#1 david
This has been fixed in the latest rbtools code. In 0.7.2 it's improved, and 0.7.3 will fix it for good.
  • +Fixed