On Tue, Dec 21, 2010 at 6:24 PM, Christian Hammond <[email protected]> wrote: > Can you plug in a filename and SHA1 into that raw URL mask and see if > it's actually fetching using the SHA1? If modifying the tip of origin > breaks things, I wonder if it's not actually making use of the SHA1 on > your copy of cgit. If things break with gtk+, maybe there is some > compatibility change. > this is happening. calls to that raw url return the plain file, but id2 is completely ignored.
> What you can try doing is browsing your repository, going to a file > (on some older revision), and trying to view the raw file. See what > URL you get. There may be a couple versions of the raw URLs, so you > may have to find the one that uses /plain/. so going working backwards a little, can you tell me what this id represents? this is from diffviewer_filediff table. source_revision: 9455e4714fa626cbd8410a3d13abb3bbe7a79f8c i ask because this is what it's querying cgit for, but i can't find any reference to that id...either by browsing through cgit or on my local clone where i ran post-review. > > Christian > > -- > Christian Hammond - [email protected] > Review Board - http://www.reviewboard.org > VMware, Inc. - http://www.vmware.com > > > > On Tue, Dec 21, 2010 at 12:31 PM, birdsong <[email protected]> wrote: >> >> I'm getting this error >> http://pastebin.com/uEwh1vjR >> >> Setup is: >> reviewboard on same servers as bare git repo and cgit server. >> path: /home/git/repositories/f.web.git >> mirror path: [email protected]:f.web.git >> raw file url mask: >> http://localhost:7000/cgit/f.web/plain/<filename>?id2=<revision> >> >> (i know i'm missing the 'gtk+' path component that the docs mention, >> but this url works on my version of cgit to retrieve the plain file >> and adding gtk+ anywhere in the path broke that) >> >> I am able to view the diff after running git commit and then post- >> review. Once I push my commit to origin, the diff is no longer >> available and I get this traceback. >> >> Any ideas? >> >> -- >> 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 > > -- > 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 -- 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
