I'm trying to use ReviewBoard 1.5.4 with git and gitweb.

I have a change that's been committed and pushed.

My repository is configured in ReviewBoard like this (some

path = g...@source.company.com:test-application.git
raw file url mask: 

My local git config includes


and my postreview command is

postreview -p -o --summary="test review" --description="simple test" --
revision-range HEAD^^:HEAD --username me --password password -d

... and I get this:

>>> RBTools 0.3.2
>>> Home = /Users/me
>>> svn info
>>> git rev-parse --git-dir
>>> git symbolic-ref -q HEAD
>>> git config --get branch.master.merge
>>> git config --get branch.master.remote
>>> git config remote.origin.url
>>> repository info: Path: g...@source.company.com:test-application.git, Base 
>>> path: , Supports changesets: False
>>> git config --get reviewboard.url
>>> HTTP GETting api/
>>> HTTP GETting http://reviewboard.company.com/reviews/api/info/
>>> Using the new web API
>>> git diff --no-color --full-index --no-ext-diff HEAD^^..HEAD
>>> Attempting to create review request on 
>>> g...@source.company.com:test-application.git for None
>>> HTTP POSTing to http://hudson.ninginc.com/reviews/api/review-requests/: 
>>> {'repository': 'g...@source.company.com:test-application.git'}
>>> Review request created
>>> Attempting to set field 'summary' to 'test review' for review request '1608'
>>> HTTP PUTting to 
>>> http://reviewboard.company.com/reviews/api/review-requests/1608/draft/: 
>>> {'summary': 'test review'}
>>> Attempting to set field 'description' to 'simple test' for review request 
>>> '1608'
>>> HTTP PUTting to 
>>> http://reviewboard.company.com/reviews/api/review-requests/1608/draft/: 
>>> {'description': 'simple test'}
>>> Uploading diff, size: 2175
>>> HTTP POSTing to 
>>> http://reviewboard.company.com/reviews/api/review-requests/1608/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'pom.xml', u'err': {u'msg': u'The 
>>> file was not found in the repository', u'code': 207}, u'revision': 
>>> u'42d91a4992e86ff4fe329daefc6174d4706124af'}

Error uploading diff

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

One thing I notice is that the sha1 shown here is NOT a revision
(commit), but the sha1 of the blob:

$ git cat-file -t 42d91a4992e86ff4fe329daefc6174d4706124af
$ git rev-parse HEAD
$ git rev-parse HEAD^^

'postreview --version' gives "RBTools 0.3.2", and I'm running on OSX
Snow Leopard (10.6.6), with python 2.6.6.

...help?? :-)

Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to