rbt should find repositories based on mirror_path

Review Request #5468 — Created Feb. 13, 2014 and submitted

Information

RBTools
master
7436e03...

Reviewers

"rbt post -u" doesn't work if the repository is being identified using a mirror_path - get_repository_id returns None which causes an error trying to do the update.

The patch matches the logic in rbtools/commands/setup_repo.py and also svn.py

tested locally against reviewboard 1.7 - repo with the path of http://svn.DOMAIN/svn/foo and mirror_path of http://svn/svn/foo works with |rbt post -u| when my local checkout is http://svn/svn/foo

david
  1. Ship It!

    1. Can this also be applied to 0.5.x ? Same issue there

    2. Sure. Cherry-picked as 369c108.

  2. 
      
BB
BB
BB
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (4dbd39b), release-0.5.x (369c108). Thanks!
Loading...