We have a project in which around 44 CLs were pushed for review (together) to a new branch, +2ed, and submitted. These were incorrect ones (many are cherry-picks from other branches). So, we reset the branch pointer back to before these changes, and we want to upload a subset of these CLs mixed in with other correct CLs. Unfortunately, Gerrit is not allowing pushing them for review since change-Ids clash.
We want to remove the old CL review information to push these CLs again. Is this possible? The branch is not under active development and is a new branch; hence, we can redo all the commits if needed. We can't change the branch name. Looking at NoteDB format, we may have to delete a bunch of stuff from Gerrit's git folders under refs/changes/<last 2 digits>/<CL number>; reindex and maybe even update the H2 db file (I don't know how). Has someone ever done this before, or is there a plugin that can delete a bunch of CLs? Our Gerrit version is 3.9.5. Thanks!