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

New issue 2985 by Can't add diff's to review, "The file was not found in the repository" using mercurial

*** 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?
Rb running on local server

What steps will reproduce the problem?
1. ./post-review -d

What is the expected output? What do you see instead?
I get a "Got API Error 207 (HTTP code 400): The file was not found in the repository" when posting a diff, but the review is created with not diff.

I would expect that the diff was attached to reg review.

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

Please provide any additional information below.
RBTools 0.5
Python 2.7.4 (default, Apr 19 2013, 18:28:01)
[GCC 4.7.3]
Running on Linux-3.8.0-20-generic-x86_64-with-Ubuntu-13.04-raring
Home = /home/andreas
Current Directory = /home/andreas/projects/nexus
Checking the repository type. Errors shown below are mostly harmless.
DEBUG:root:Using candidate path 'default': 'ssh://' DEBUG:root:repository info: Path: ssh://, Base path: , Supports changesets: False
Finished checking the repository type.
HTTP GETting api/info/
DEBUG:root:Running: hg branch
DEBUG:root:Running: hg -q outgoing --template b:{branches}

DEBUG:root:Found outgoing changeset 1331 for branch 'default'
DEBUG:root:Running: hg log -r 1331 --template {parents}
DEBUG:root:Running: hg diff -r 1330 -r 1331
HTTP GETting api/
Using the new web API
Attempting to create review request on ssh:// for None HTTP POSTing to {'repository': 'ssh://'}
Review request created
Uploading diff, size: 301
HTTP POSTing to {}
Got API Error 207 (HTTP code 400): The file was not found in the repository Error data: {u'stat': u'fail', u'file': u'stack/src/makefile', u'err': {u'msg': u'The file was not found in the repository', u'code': 207}, u'revision': u'66f095225e49'}

Error uploading diff

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

It is a mercurial repo over ssh. There is some branches in the repo, but I'm using the default one.

What can I do to debug this issue more? I have enabled logging on the review server, but it do not shows any problems.

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