poky/scripts/lib/devtool
Chang Rebecca Swee Fun b47a7b848b devtool: upgrade: enable branch checking when revision is provided
When devtool upgrade is run on a recipe with revision specified
that is not on master branch, and branch isn't set by --srcbranch or -B,
then we should get the correct branch and append the branch to the URL.

If the revision was found on multiple branches, we will display error
to inform user to provide a correct branch and exit.

[YOCTO #11484]

(From OE-Core rev: 29ced7387a92aed17b7fe93b1654790a981734c1)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-23 08:47:02 +01:00
..
__init__.py devtool: Setup logging before calling prepare 2017-07-21 08:44:25 +01:00
build_image.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
build_sdk.py devtool: add build-sdk subcommand 2016-03-07 00:11:38 +00:00
build.py devtool: add "rename" subcommand 2016-11-07 11:04:22 +00:00
deploy.py devtool: deploy-target: Let script continue even if rm fails 2017-06-03 23:46:06 +01:00
package.py meta/scripts: Various getVar/getVarFlag expansion parameter fixes 2017-01-09 13:39:11 +00:00
runqemu.py devtool: point runqemu to correct native bindir 2017-04-05 23:22:12 +01:00
sdk.py devtool: sdk-update: fix pulling updates from git 2017-08-09 09:24:16 +01:00
search.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
standard.py devtool: fix handling of errors during task execution 2017-08-09 09:24:15 +01:00
upgrade.py devtool: upgrade: enable branch checking when revision is provided 2017-08-23 08:47:02 +01:00
utilcmds.py devtool: find-recipe: enable new subcommand for devtool 2017-07-21 22:51:37 +01:00