]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/gitarchive: Handle case where parent is only on origin
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 09:26:42 +0000 (09:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Mar 2019 23:21:32 +0000 (23:21 +0000)
commit633e024f5d492ba38debf745b59813f6a2f4a3f0
tree58f913daf1ed74ae007e731807d19df6c2406c49
parentece8242187558011940d7c6762b64c7116e38689
oeqa/utils/gitarchive: Handle case where parent is only on origin

The parent code currently assumed that any parent branch is locally
checked out which may not be the case.

Use the local branch by default but fall back to the origin. This
also means removing the later saftey check as the branch may not exist
locally.

This fixes the autobuilder resulttool test pushing code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/gitarchive.py