문제

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?

도움이 되었습니까?

해결책

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top