Include mirror_path in search for repositories

Review Request #8144 — Created May 3, 2016 and submitted — Latest diff uploaded

Information

RBTools
master
daafcba...

Reviewers

Include mirror_path in search for repositories.
If a reviewboard repository has a mirror path, clients using that path are not able to post review requests. The search for repositories returns only the primary path.

This change includes a repository mirror path if a valid one is found.

Manual testing.
Ran all unit tests before and after changes. In both cases I received:

Ran 169 tests in 182.476s

FAILED (SKIP=50, errors=2, failures=1)

So I figured I didn't make it worse?

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2
rbtools/commands/post.py
Loading...