I figured out the answer before I got a chance to hit submit on the above question. Since the answer is not obvious, I will post it here:
For a multi-commit patch, create via 'post-review' and not the ReviewBoard GUI.
The problem is with adding a diff file that aggregates a bunch of patches. In my case, I've ~97 commits. Generating a patch for each commit git format-patch -s master
gives you 97 different patches to review, which is unmanageable. Apache suggests dumping the patches into a single file with git format-patch master --stdout > ~/patch-name.patch
(See Contributing to Apache CloudStack as a Non-Committer) Unfortunately, this causes problems when one patch is dependent on another.
To avoid these issues, submit the commits as a single patch via the post-review
command in RBTools (Review Board Tools, see install instructions. After installing RBTools, verify that your local git repo's origin/master is tracking the target for your code merge. E.g.
$ git remote -v
origin https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git (fetch)
origin https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git (push)
Also, set the target Review Board. E.g. to set for a repo, use the following command in the repo's root folder.
git config reviewboard.url https://reviews.apache.org
From the root of your local git repo, simply call post-review
. It will gross up the changes between HEAD in the local repo and origin/master, create a review, and return the URL. You then flesh out the comments/summary/group using a browser.
Enjoy!