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

New issue 2985 by andreasm...@gmail.com: Can't add diff's to review, "The file was not found in the repository" using mercurial
http://code.google.com/p/reviewboard/issues/detail?id=2985

*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this bug report!

What version are you running?
1.7.7.1

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
Chrome

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://andr...@xxx.com/../../revisioncontrol/hg/c/p1/' DEBUG:root:repository info: Path: ssh://andr...@xxx.com/../../revisioncontrol/hg/c/p1/, 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}
r:{rev}

 default
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/
HTTP GETting http://XXX.com/api/info/
Using the new web API
Attempting to create review request on ssh://r...@xxx.com/../../revisioncontrol/hg/c/p1/ for None HTTP POSTing to http://XXXX.com:/api/review-requests/: {'repository': 'ssh://r...@xxx.com/../../revisioncontrol/hg/c/p1/'}
Review request created
Uploading diff, size: 301
HTTP POSTing to http://XXX.com/api/review-requests/50/diffs/: {}
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:
https://code.google.com/hosting/settings

--
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 reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to