]> 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>
Sun, 24 Mar 2019 21:23:54 +0000 (21:23 +0000)
commit36624a17d382d84647c5811134fe76251fd64dc3
tree2ba953560bc32819a507d43bcb2780b351dcf50d
parentc4c63cdc1eca2acebc4ec9486b0d0592e47a8ae2
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