Submit patch in gerrit without parents
I'm currently setting up a gerrit server in my new company. I used to use gerrit for few years now but I never setup one. I installed gerrit 2.13.5 and I'm trying to configure it. I have two last issues I'm trying to fix (I'll only discuss one here). I have a list of commits A->B->C A is the parent of B, B is the parent of C Someone reject (-2) my patch A and B (because they're bad) but accept C (+2). C is completly unrelated to A and B (another file in another folder into my project) A button "Submit including parents" appears to my commit C but I cannot cherry-pick it into gerrit/master branch since A and B are reject. Since C is not related to A or B, but I don't want to have to much local branches, I've done all 3 commits into the same branch. I use cherry-pick submit option into gerrit configuration [submit] action = cherry pick mergeContent = true I supposed that using this option, I could cherry-pick any commits with no direct parents dependencies. I used to do so in my previous company but I cannot succeed to setup gerrit this way here. If anyone have ideas or questions I will really by please to get or answer it. Cheers.
I've a very little different version of Gerrit (2.13.6) and I've tried to reproduce the issue here. I've found the following: If the project strategy is "Cherry Pick", the button shows "Submit" If the project strategy is any other option, the button shows "Submit including parents" Using the first option it was possible to submit the second commit before the first one without issues. So, I think is a good idea to check if you really have the strategy "Cherry Pick" set for your specific project. If the "Cherry Pick" strategy is correctly set then you could try to update for the last available version (2.13.7).
How to assign access rights to a Gerrit project using API / SSH?
How to change a patchset and push it as a new one?
Gerrit patch comparision for Sql files
How to 'reply done' in Gerrit when I address people code review comment
How to search for changesets in Gerrit than need to be rebased?
Gerrit GitBlit Plugin shows no Branch Graph
Bad permissions for Gerrit Administrator
Using REST APIs
Gerrit trackingid not working
Gerrit: remote rejected (you are not allowed to upload merges) even though I allowed “Push merge commit”
gerrit: access gerrit repositories as root user by using public key of another user
What does “Reply 'Done'” conventionally mean in Gerrit?
Restrict which branches can be tagged
not to create new commit-id on gerrit
Shibboleth protected Gerrit installation
gerrit hooks - automatically push upstream for review