Issue 2601: Push same change to multiple branches sha AND changeID.
Status:  New
Owner: ----
Reported by nic...@eriksson.cc, Apr 10, 2014
I would like to have gerrit allow pushes of the same change (changeID and SHA) to multiple branches.

Motivation workflow:

git checkout -b TopicBranch RevisonThatCanBeMergedIntoMultipleBranches
...work...
git commit && git push origin HEAD:refs/for/TopicBranch

The change is now evaluated, tested, etc. etc. If the change is deemed to be good we would like to get it to a number of different branches, what branches depends on the change.

What would be very nice to do here is to just push the change to the target branches and have gerrit handle any required merges.
git checkout TopicBranch
git push origin HEAD:refs/for/master
etc ...

But that won't work as gerrit will complain
! [remote rejected] TopicBranch -> refs/for/master (no new changes)

What will work is to use git push origin HEAD:refs/for/master%base=$(git rev-parse origin/master) but I am not sure about the consequences of that action and the documentation is very sparse.. Any tips?