Thank you so much, Christian! It has worked like a charm! If we create the diffs with git and then post the diffs with "rbt post --diff-filename=file.diff", ReviewBoard show them properly and let reviewers add comments directly on them.
Just a note for other Windows server users: the local path has to be configured with "file://" as protocol, like "file://C:/whatever/myrepo/.git". Thanks again. Regards, On Thursday, February 16, 2017 at 5:52:59 PM UTC, Ariel Cassan wrote: > > > Hi guys, > > We've started trying out ReviewBoard 2.5.7 as the code review tool for our > project, which uses Gitblit as the manager of the git repository, > everything on the same server (ReviewBoard + Gitblit + the repo itself) > We have configured the repository on ReviewBoard (see attached image) and > we have used "rbt post" or "rbt post *hash*" for creating the review > requests. > > However, the "There was an error displaying this diff." is displayed for > every file in the request, every time we try it on. > We have tried also to create the diff file in local and upload it with > "rbt post --diff-filename=xxxx" with the same unsuccessful results. > > When we take a look at the rejection file in the temp folder, the reason > is that either ReviewBoard or GitBlit are trying to use a branch with the > name of the raw url's revision! > So, the raw URL for Gitblit looks as: http://<IP>:<PORT*>* > /raw/<repo_name>.git/<revision>/<filename>. > An the error in the rejection file is: > <h1>Error</h1><p>Sorry, the repository <repo_name>.git does not have a > <strong>65c87f4f676953cb12770a50af3cd405bcb86863</strong> branch!</p> > > We understand it takes it from the raw URL because the error changes when > configuring the raw URL mask as: http://<IP>:<PORT*>* > /raw/<repo_name>.git/<branch>/<filename>.4 > But of course, it fails anyway as that URL is not returned successfully by > Gitblit. > > Please, can you help us to fix this issue? > > > Thanks in advance. > Kind regards, > > Ariel > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
