Work around broken relation chains of merged changes


When the qt workflow plugin merges a change, it may break the
original relation chain due to the order in which the changes
are cherry-picked by the plugin. This patch adds a workaround
of examining the current-1 patchset of the change to see the pre-
merge relation chain.

Fixes: QTQAINFRA-5695
Change-Id: I4cc2d204de5c814209b1d0c7ff9e66ed6c34f2e9
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
commitda2b640d7e6c2157bb7af0bac7b37f66ca4a25fa
parenta940e8658c00f19b8c755afe10fcb27d1856dccd
authorDaniel Smith <daniel.smith@qt.io>
committerDaniel Smith <daniel.smith@qt.io>
commit timeFri, 18 Aug 2023 14:36:46 +0200