Change the call to server.get_repositories to filter on the server side based on the VCS type inside the clients.

Review Request #7818 — Created Dec. 21, 2015 and discarded — Latest diff uploaded

solarmist
RBTools
master
rbtools

Change the call to server.get_repositories to filter on the server side based on the VCS type inside the clients.

We have over 3000 git repos in our instance (but significantly less SVN repos) and have people working overseas from our RB instance causing over 100 network call roundtrips. This reduces those extra calls to the single digits.

This patch is based on Line 128 of.
https://github.com/reviewboard/reviewboard/blob/master/reviewboard/webapi/resources/repository.py

This is a patch forward for the latest version of RBTools. It is based on the work done in
https://reviews.reviewboard.org/r/7817/.

Loading...