That seems to have done it - thanks for the quick reply!
On Thu, Aug 1, 2013 at 6:30 PM, reviewboard <[email protected]> wrote: > Does the following work? (change hb to h) > > > http://git.ourdomain.com/?p=reponame.git;a=blob_plain;f=path/to/file.txt;h=e4643b1cc6c8c05f17d4079f2d68d078bba96a4c > > ref: https://groups.google.com/d/msg/reviewboard/YmrjZyUsvX8/zqEEgtuznpMJ > > > On Thu, August 1, 2013 9:18 pm, Chris Armstrong wrote: > > Hi folks, > > > > Been struggling with ReviewBoard on this issue and would love some > > guidance. I have a repository configured in RB as follows: > > > > Repository type: Git > > Path: [email protected]:reponame.git > > Raw file URL > > mask: > > http://git.ourdomain.com/?p=reponame.git;a=blob_plain;f= > <filename>;hb=<revision> > > > > Now, when working locally, I am on master and make one commit that I'd > like > > to have code reviewed. I invoke rbt as follows: > > > > rbt post -g -d --target-groups=sysadmin > > I get an error saying the file cannot be found (a file which has existed > in > > the repo far earlier than my recent commit -- I am just making a change > to > > it). > > > > The error in the RB server logs is: > > > > 2013-08-02 01:01:11,300 - INFO - - Fetching file from > > > http://git.ourdomain.com/?p=reponame.git;a=blob_plain;f=path/to/file.txt;hb=e4643b1cc6c8c05f17d4079f2d68d078bba96a4c > > 2013-08-02 01:01:11,441 - ERROR - - 404 > > > > Requesting the file directly from gitweb with > > > http://git.ourdomain.com/?p=reponame.git;a=blob_plain;f=path/to/file.txt;hb=e4643b1cc6c8c05f17d4079f2d68d078bba96a4c > > also returns a 404 error. A bit of trial and error leads me to realize > that > > requesting the file without specifying the revision works just fine: > > http://git.ourdomain.com/?p=reponame.git;a=blob_plain;f=path/to/file.txt > > > > Locally, git show e4643b1cc6c8c05f17d4079f2d68d078bba96a4c shows me the > > file, and on a coworker's computer who does not have my latest commit > that > > I am having code reviewed (because I have not pushed it yet) this git > show > > also shows me the file. So, something has to be wrong with GitWeb I'd > > imagine, but I have no idea what. Gitweb operates on the same repository > > that we are pulling from locally, so that revision has to exist. Earlier > > today I played around with the permissions on these directories in order > to > > have them appear in gitweb - is it possible that I messed something up > > there? > > > > We have also tried specifying various other command-line options to rbt: > > --parent and --tracking-branch to no avail. Can anyone shed some light on > > what's going on? > > > > Thanks, > > Chris > > > > -- > > Want to help the Review Board project? Donate today at > > http://www.reviewboard.org/donate/ > > Happy user? Let us know at http://www.reviewboard.org/users/ > > -~----------~----~----~----~------~----~------~--~--- > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > > http://groups.google.com/group/reviewboard?hl=en > > --- > > 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/groups/opt_out. > > > > > > > > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~----------~----~----~----~------~----~------~--~--- > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > --- > 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/groups/opt_out. > > > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- 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/groups/opt_out.
