]> code.ossystems Code Review - openembedded-core.git/commit
devtool: upgrade: fix constructing new branch from tarball releases
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 22 Feb 2016 23:01:44 +0000 (12:01 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:36 +0000 (11:32 +0000)
commita4f3e6d5f4c549e36cce1e18801a565a3a3c9b0a
tree747a7a4a6f1b1c99f55c6e673d3c388e5f09ba68
parente144db3650b4a7c0a59066621905f34a5400303e
devtool: upgrade: fix constructing new branch from tarball releases

When we do an upgrade from one tarball version to another we want to:

1) Check out the old version as a new branch
2) Record the changes between the old and new versions as a commit
3) Check out the old version with patches applied
4) Rebase that onto the new branch

Where we went wrong was step #1 where instead we checked out the old
version with patches applied as the new branch, which meant the rebase
didn't do anything and any changes made by the patches to files still in
the new version were wiped out.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/upgrade.py