Is the dev branch pushed upstream, or is it local to your repository?
When working with Git, there are three branches to keep in mind:
1) The branch containing your change.
2) The parent branch, if any, that your branch derives from.
3) The tracking branch (origin/master, origin/dev, whatever is upstream
that your branch is eventually derived from).
The tracking branch defaults to origin/master. By default, any diff
generated will be between the tracking branch and HEAD.
If you have a different tracking branch (let's say origin/release), then
you can pass --tracking-branch=<branchname> to it.
If you have a branch based on another (unpushed) branch, you'd want to
specify that branch as your branch's parent, using --parent=<branchname>
In a simple setup, you'd have a branch off of origin/master, and all you
would need to do is run "post-review" on it.
In a more complex case where your branch looks like:
You would checkout my-branch and do:
post-review --tracking-branch=origin/dev --parent=my-parent
You can add the default for the tracking branch to your .reviewboardrc:
TRACKING_BRANCH = 'origin/dev'
Hope that gives you a good overview of how you might handle this. Without
knowing your branching setup better, it's hard for me to give a more
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com
On Sat, Feb 16, 2013 at 8:19 AM, Karan Jain <karanjain.it...@gmail.com>wrote:
> We are using Github Enterprise version for our organization. I was trying
> to add a repository and was able to do so successfully. I chose -
> Hosting service - None (Custom Repository)
> Repository type - Git
> Now my working branch name is dev and not master. I wish to upload a
> review request on the dev branch. How can I do that?
> If I try to upload it says that the file is not present in the repo which
> means it is trying to look up in master branch where the file has not yet
> been checked in. However, the file is present in the 'dev' branch and the
> review request needs to be created on this branch.
> Karan Jain
> Want to help the Review Board project? Donate today at
> Happy user? Let us know at http://www.reviewboard.org/users/
> To unsubscribe from this group, send email to
> For more options, visit this group at
> 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 reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Want to help the Review Board project? Donate today at
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.