diff options
author | Christian Hammond <chipx86@chipx86.com> | 2009-08-25 02:30:30 -0700 |
---|---|---|
committer | Christian Hammond <chipx86@chipx86.com> | 2009-08-25 02:30:30 -0700 |
commit | d572a84c32bb055f3deac22798e8623d7dd5df24 (patch) | |
tree | 7ffa0c00cd634723083a86aae01dddd38f39c34e | |
parent | 6cc7f94675654c91558f40e9c6b9abd230a9d6c1 (diff) |
Fix an issue in GitClient where local repository configuration is ignored.
-rwxr-xr-x | rbtools/postreview.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rbtools/postreview.py b/rbtools/postreview.py index c657acc..a87569d 100755 --- a/rbtools/postreview.py +++ b/rbtools/postreview.py @@ -1917,6 +1917,10 @@ class GitClient(SCMClient): def scan_for_server(self, repository_info): # Scan first for dot files, since it's faster and will cover the # user's $HOME/.reviewboardrc + server_url = super(GitClient, self).scan_for_server(repository_info) + + if server_url: + return server_url # TODO: Maybe support a server per remote later? Is that useful? url = execute(["git", "config", "--get", "reviewboard.url"], |