Thanks Chris. You are correct, I would be able to achieve what I want to
with either --parent or --tracking-branch option.
What I'm looking for is how to specify these options via UI and not using
post-review. The reason is this -
I have deployed the RB portal on a server and many people would be
accessing it via browser. Hence, asking everyone to install post-review
tool would actually not be a good option. So, looking for a way to do it
through Admin UI for each repository.
On Sunday, February 17, 2013 3:18:13 AM UTC+5:30, Christian Hammond wrote:
> 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:
> |- my-parent
> |- my-branch
> 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
> specific example.
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.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
>> 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.