On Saturday, June 2, 2012 11:53:02 AM UTC+2, Christian Hammond wrote:
Hi Ryan,
Branches don't matter in Git at this point. A branch is just a handy tag that gives a human-readable name to a SHA1 and updates on each commit. From the point of view of anything that needs to interact with files on Git, the only information needed are a SHA1 and a filename. A branch will never come into play here.
Yes, you is right. I have not dug so much before into SHA1 numbers and git...
What it sounds like is that your remote repo isn't updated properly. Perhaps you have changes in your master that aren't pushed, and the diff is therefore based on a revision that is not available to Review Board by way of cgit?
However, this is the breakdown...
For a particular file, post-review (git diff ), generates a patch for a file x. This contains a parent SHA id and the new sha id, right?
index ebd63fe54cf46839f6ca5582699b249783aca538..3ce9a396ebbda257d1625e9101ca0f9a27d9ed29
The log for reviewboard shows that there is a fetch for ebd63fe54cf46839f6ca5582699b249783aca538 id, but cgit returns "not found" for that
file.... I can see in the HTML formatted cgit site, ebd63fe54cf46839f6ca5582699b249783aca538 exists for the blob link.
Just for clarity
************************************** Reviewboard.log ***************************************************
2012-06-02 14:12:10,932 - ERROR - 404
*************************************** post-review ********************************************************
rra@pc-9999 (branchX)$ post-review -r 36 --debug --parent origin/branchX --output-diff
>>> RBTools 0.4.1
>>> Home = /home/rra
>>> HTTP GETting api/
>>> Using the new web API
diff --git a/package/libxml2/Config.in b/package/libxml2/Config.in
index ebd63fe54cf46839f6ca5582699b249783aca538..e66740a4dd4263112d10dd0eba0d5c534437a842 100644
--- a/package/libxml2/Config.in
+++ b/package/libxml2/Config.in
@@ -4,3 +4,9 @@ config BR2_PACKAGE_LIBXML2
XML C Parser
+
+config BR2_PACKAGE_LIBXML2_MINIMAL
+ bool "libxml2 minimal"
+ depends on BR2_PACKAGE_LIBXML2
+ help
+ Build a minimally sized library.
I am digging further, but is there anything blatantly obvious I am overlooking? This really doesn't make sense...
Ryan