What version are you running?
1.6 beta 1
What's the URL of the page containing the problem?
post-review
What steps will reproduce the problem?
1.Add multiple repositories to reviewboard
2.Post a review to repository A
post-review --open --revision-range=<A>:<B> --description-file=/tmp/post-review-description-tmp --repository-url=svn+ssh://hostname.nl/folder/repo1
3.Post a review to repository B
post-review --open --revision-range=<X>:<Y> --description-file=/tmp/post-review-description-tmp --repository-url=svn+ssh://hostname.nl/folder/repo2 -d
What is the expected output? What do you see instead?
After getting the repositories, it suddenly changes to svn+ssh://hostname.nl/folder/repo1 instead of svn+ssh://hostname.nl/folder/repo2. Here is the debug output of post-review:
>>> RBTools 0.3.2
>>> Home = /home/nschoenmaker
>>> svn info svn+ssh://hostname.nl/folder/repo2
>>> diff --version
>>> repository info: Path: svn+ssh://hostname.nl/folder/repo2, Base path: /, Supports changesets: False
>>> svn propget reviewboard:url <CHECKOUT ROOT>
>>> HTTP GETting api/
>>> HTTP GETting <REVIEWBOARD URL>
>>> Using the new web API
>>> svn diff --diff-cmd=diff svn+ssh://hostname.nl/folder/repo2/@5688 svn+ssh://hostname.nl/folder/repo2/@5689
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/1/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/1/info/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/2/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/2/info/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/3/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/3/info/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/4/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/4/info/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/5/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/5/info/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/6/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/6/info/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/7/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/7/info/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/8/
>>> HTTP GETting <REVIEWBOARD URL>/api/repositories/8/info/
>>> repository info: Path: svn+ssh://hostname.nl/folder/repo1, Base path: /, Supports changesets: False
>>> Attempting to create review request on svn+ssh://hostname.nl/folder/repo1 for None
>>> HTTP POSTing to <REVIEWBOARD URL>/api/review-requests/: {'repository': u'svn+ssh://hostname.nl/folder/repo1'}
>>> Review request created
>>> Attempting to set field 'description' to 'this is a nice description' for review request '221'
>>> HTTP PUTting to <REVIEWBOARD URL>/api/review-requests/221/draft/: {'description': 'this is a nice description'}
>>> Uploading diff, size: 792
>>> HTTP POSTing to <REVIEWBOARD URL>/api/review-requests/221/diffs/: {'basedir': '/'}
>>> Got API Error 207 (HTTP code 400): The file was not found in the repository
>>> Error data: {u'stat': u'fail', u'file': u'//branches/3.12/folder/file.ext', u'err': {u'msg': u'The file was not found in the repository', u'code': 207}, u'revision': u'5688'}
Error uploading diff
Your review request still exists, but the diff is not attached.
What operating system are you using? What browser?
Ubuntu, firefox.
Please provide any additional information below.