]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto: update validate_branches to detected invalid commit IDs
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 17 Jan 2011 21:34:58 +0000 (16:34 -0500)
committerSaul Wold <sgw@linux.intel.com>
Wed, 19 Jan 2011 19:36:27 +0000 (11:36 -0800)
commit8f23c1413ad12e60e98f9887cafa4315db7b62a2
tree943a3430ff1e582ceeca836dd798b884447f685f
parent432e7619a7bd0c6a2075a618e5b17100fe459085
linux-yocto: update validate_branches to detected invalid commit IDs

The previous implementation of invalid commit ID checks would
error early when a bad object was detected. Rather than changing
to set +e for the entire routine, we'll capture the output and
do an explicit check for a bad object and throw a useful error
message when it is detected.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass