Include mirror_path in search for repositories

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

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?

Description From Last Updated

Col: 21 E126 continuation line over-indented for hanging indent

reviewbotreviewbot
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/post.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/commands/post.py
    
    
  2. rbtools/commands/post.py (Diff revision 1)
     
     
    Show all issues
    Col: 21
     E126 continuation line over-indented for hanging indent
    
  3. 
      
BE
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/commands/post.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/post.py
    
    
  2. 
      
BE
david
  1. Ship It!
  2. 
      
BE
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.7.x (58e4ea3)