Give a -1 when pick-to on a release branch lacks a pick to stable branch


This change should help ensure that fixes submitted directly
to a release branch (often due to release crunches) make their way
upstream to the stable branch. This check is limited to numerically
versioned branches, 6.2.0 release branch for example has an
upstream stable branch of 6.2.

Change-Id: I17f6576c63a40f89802bad97111560086cce1465
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
commit6fa8b6904a6775175dff46f3c0ccf87fa709c788
parent47b15af0dab2650902501e497fc4481a1eef9060
authorDaniel Smith <daniel.smith@qt.io>
committerDaniel Smith <Daniel.Smith@qt.io>
commit timeThu, 28 Oct 2021 08:42:49 +0000