Let say I have a release branch and I push a commit to that release branch and it gets reviewed.I now want that commit to be reflected in master. Is there a way to do that without having that commit go through code review again?
! [remote rejected] HEAD -> refs/for/master (no new changes)
Do you intent to push it for review again?
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
Since you are using 2.3-rc0 this could also be a bug where Gerrit does not allow pushes of the same commit to new branches. This was due to the “no new changes”-detection did not take into account that the commit could be aimed for a different branch. If this was the issue, it would have been fixed in this change (2.4):
https://gerrit-review.googlesource.com/#/c/34460/
/Gustaf
--
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We have an internal solution that cherry-picks changes to other branches when they merge, but it works a little differently from how you imagined it below.We're looking at making it more of a pluggable feature soon, so we might be able to upstream the framework of it in the future, but currently it's strongly tied to our homegrown bug tracker and a few other homegrown tools.NasserOn Jun 23, 2015, at 12:17 PM, Urs Wolfer <u.wo...@gmail.com> wrote:I know this is a quite old thread, but I'm interested if anybody has got an automated solution working?I'm wondering if it would be worth developing a Gerrit plugin which automates this workflow. Some thoughts:* after submit, branch gets merged automatically into any branch which contains parent commit of submitted change* auto-merge could be disabled via settings for specified source- / target-branches (e.g. useful for feature-branches which you do not want to merge back into source-branch)* merge-results are posted as comments in change (this way manual merge could be done by owner if auto-merge fails)Any comments?