chevah/brink — pull request #33 by adiroiban (2014-03-25 12:24:57+00:00)
Title: [#2069] Fix PQM merge_init and add test_review task.

Problem
---------

PQM fails with silly ```You can not merge the main branches.``` error

Why we got this
--------------------

Buildbot use a fast and slim version of repo and it does not updates branch names and other references.
This is why the merge_init script can not get branch name from git repo.

Changes
-----------

Update code to get branch name from env variable.

Also add a dedicated test_review command to be used for sending a test for review. This make sure proper builder is selected and not local patch is sent to test remote.

How to test
--------------

reviewers: @alibotean

Check that changes look good.

If code is not ok, I should not be able to merge this.

Thakns!