How to create dependencies between merged patch and before merged patch in gerrit?
dependencies, gerrit, git, linux, patch
Solution
Dependencies in Gerrit are just a representation of the Git tree graph. So to make change B depend on change A, B must have A as its parent.
In your case, you have two changes in two different repositories. Cross-repository dependencies are not currently supported in Gerrit. It is a commonly-requested feature however, and was just discussed at the Gerrit user conference last weekend. Hopefully support for Cross-repository dependencies will be added in a future version of Gerrit.
Problem
I have two patches on `gerrit` and I would like to make the unmerged depened on the merged patch. Both are uploaded to gerrit yet. How can I do it? Is it possible at all? can I do it through gerrit? not through git and cherry pick. Let's say https://gerrit.wikimedia.org/r/#/c/34106/ is the unmerged file The merged file https://gerrit.wikimedia.org/r/#/c/25756/