Tim Landscheidt
Tim Landscheidt

Reputation: 1400

How to search for changesets in Gerrit than need to be rebased?

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?

Upvotes: 2

Views: 207

Answers (2)

Milimetric
Milimetric

Reputation: 13549

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

Upvotes: 2

StephenKing
StephenKing

Reputation: 37620

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.

Upvotes: 5

Related Questions