Domanda

In our Gerrit installation (2.8.1-2-g724b796) I'd like to search for changesets of mine that cannot be merged, but must be rebased. For example, this change has "Can Merge" as "No" and would need a manual rebase.

Is there a search syntax to find those changes? Do our administrators need to set up an extra label or something similar?

È stato utile?

Soluzione

With your currently running 2.8 version, this is not possible.

Gerrit 2.9 brings the is:mergeable search operator (docs, change), which should allow you to search for exactly this.

Altri suggerimenti

On versions up to 2.8, there's no way to do this with a search parameter:

https://review.openstack.org/Documentation/user-search.html

On version 2.9+, there's a new is:mergeable search parameter:

https://gerrit-review.googlesource.com/Documentation/user-search.html#is

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top