]> 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>
Mon, 25 Feb 2019 09:28:24 +0000 (09:28 +0000)
commit0ee636bc89d93282cb3d3cd747b3dd046f6e5a9c
tree702333ac4be9399d1798de39777b4eaa4c6891d9
parentff2c029b568f70aa9960dde04ddd207829812ea0
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