2960: post-review fails to determine correct repo URI for bounded bazaar branches

ceesja******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 23, 2013
What version are you running?
ReviewBoard and RBTools from git, checkout 2013-04-19

What steps will reproduce the problem?
1. bzr new --feature-branches bzr+ssh://devuser@devserver/srv/bzr/test_repo
2. bzr checkout bzr+ssh://devuser@devserver/srv/bzr/test_repo/trunk/
3. (commit at least once)
4. post-review 

What is the expected output? What do you see instead?
With 'bzr info' I see my directory is bounded to a remote location:
$ bzr info
Repository checkout (format: 2a)
  repository checkout root: .
        checkout of branch: bzr+ssh://devuser@devserver/srv/bzr/test_repo/trunk/
         shared repository: /home/quinox

Because of this whenever I commit the changes are directly pushed to the remote server. But when I submit a review it fails to detect this remote repository:
$ post-review 

There was an error creating this review request.

The repository path "/home/quinox/tmp/trunk" is not in the
list of known repositories on the server.

What operating system are you using? What browser?

Please provide any additional information below.
The class variable BRANCH_REGEX inside rbtools/clients/bazaar.py can be modified to make it work by adding 'checkout of branch'.
#1 david
Fixed in rbtools master (9eeca47). Thanks!
  • +Fixed