I've gotten reviewboard working with my git repo when I keep around a local
copy of the checkout, and update it frequently.

I'm trying to move to using a url to cgit

My cgit setup is pretty unfriendly.

any hints on how to make this work or debug this?

So here is the url I can use to see a file in my repo in cgi, in 'plain'


so the file is "code_management_tools/add_file_tag.pl" and the version
is 7bded99c9be22dccb9a5609f5f975f2faa7753d7

In reviewboard admin I have set:

( this is the url I use to clone from command line )
Path:  ssh://

Raw file URL mask:

Here i try to post a review:

$ post-review --debug
>>> RBTools 0.5
>>> Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
>>> Running on Linux-2.6.32-358.2.1.el6.x86_64-x86_64-with-centos-6.4-Final
>>> Home = /home/danh
>>> Current Directory = /home/silurian/checkouts/com.internet.push.perl
>>> Checking the repository type. Errors shown below are mostly harmless.
DEBUG:root:Checking for a Bazaar repository...
DEBUG:root:Checking for a CVS repository...
DEBUG:root:Checking for a ClearCase repository...
DEBUG:root:Checking for a Git repository...
DEBUG:root:Running: git rev-parse --git-dir
DEBUG:root:Running: git config core.bare
DEBUG:root:Running: git rev-parse --show-toplevel
DEBUG:root:Running: git symbolic-ref -q HEAD
DEBUG:root:Running: git config --get branch.master.merge
DEBUG:root:Running: git config --get branch.master.remote
DEBUG:root:Running: git config --get remote.origin.url
DEBUG:root:repository info: Path: com.internet.push.perl, Base path: ,
Supports changesets: False
>>> Finished checking the repository type.
>>> HTTP GETting api/info/
DEBUG:root:Running: git merge-base origin/master refs/heads/master
DEBUG:root:Running: git diff --no-color --full-index --no-ext-diff
--ignore-submodules --no-renames
s/master -M
>>> HTTP GETting api/
>>> HTTP GETting https://rb.push.internet.com/api/info/
>>> Using the new web API
>>> Attempting to create review request on com.internet.push.perl for None
>>> HTTP POSTing to https://rb.internet.com/api/review-requests/:
{'repository': 'com.internet.push.perl'}
>>> Review request created
>>> Uploading diff, size: 399
>>> HTTP POSTing to https://rb.internet.com/api/review-requests/2394/diffs/:
>>> Got API Error 207 (HTTP code 400): The file was not found in the
>>> Error data: {u'stat': u'fail', u'file': u'code_management_tools/
add_file_tag.pl', u'err': {u'msg': u'The file was not found in the
repository', u'c
ode': 207}, u'revision': u'c9c66a69db5b03e092db86c8b339cd1b2f89623e'}

Error uploading diff

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

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 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to