Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2975 by similar names with hyphens in the repository name confuses post-review.

*** For customer support, please post to
*** If you have a patch, please submit it to
*** Do not post confidential information in this bug report!

What version are you running?

What's the URL of the page containing the problem?
N/A - happens when attempting to use post-review to create a review to reviewboard.

What steps will reproduce the problem?
1. Add two new repositories to ReviewBoard each with similar names containing hyphens so that at lease a portion of the name matches:



2. check out the repository from example 2 and make a change.

3. run post-review passing only the --server and --summary options (I also used --debug to try to solve the issue).

What is the expected output? What do you see instead?

I expect to see that the review has been posted but instead I get the following error:

[jlacroix@cedar1]$ post-review --server=""; --summary="test" --debug
RBTools 0.4.1
Home = /home/jlacroix
HTTP GETting api/
Using the new web API
Attempting to create review request on for None HTTP POSTing to {'repository': u''}
Review request created
Attempting to set field 'summary' to 'test' for review request '6858'
HTTP PUTting to {'summary': 'test'}
Uploading diff, size: 457
HTTP POSTing to {'basedir': '/trunk/lpfc'} Got API Error 207 (HTTP code 400): The file was not found in the repository Error data: {u'stat': u'fail', u'file': u'/trunk/dir/dir2/', u'err': {u'msg': u'The file was not found in the repository', u'code': 207}, u'revision': u'18948'}

Error uploading diff

Your review request still exists, but the diff is not attached.

What operating system are you using? What browser?
Ubuntu 12.04

Please provide any additional information below.

When I specified debug option on the post-review command line it looks like post-review is stepping through every repository known on the ReviewBoard server and for some reason if part of the name matches (i.e. mycode-repos) it stops and attempts to create the review in this repository rather than proceeding on to find a true match (i.e lnx-mycode-repos). I am wodering if the first hyphen is screwing up the match.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to