bin/get-pick-list.sh: handle reverts prior to the branchpoint
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 14 Nov 2018 18:49:54 +0000 (18:49 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 15 Nov 2018 16:15:15 +0000 (16:15 +0000)
commitadbdfc6666052d604a97009d736b6dee957908a0
treecc5d8edda4ed4513688322b06c4ec5fb2437f333
parentc0012a07088e86f6d30405d0522a0d72801e2ec7
bin/get-pick-list.sh: handle reverts prior to the branchpoint

Currently we detect when a breaking commit:
 - has landed in stable, and
 - is referenced by a untagged fix in master

Yet we did not consider the case of breaking commit:
 - prior to the branchpoint, and
 - is referenced by a untagged fix in master

Addressing the latter is extremely slow, due to the size of the lookup.

That said, we can trivially use the existing is_sha_nomination() helper
to catch reverts.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
bin/get-pick-list.sh