diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-19 23:31:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-06 18:13:01 +0100 |
commit | eb799b44adab4701825f3dda5d982256781d7f78 (patch) | |
tree | 3fc3041a37d220bfa5142212b5303527cde6438a /lib/bb/fetch2/hg.py | |
parent | 933350f801d95762cba3a1f260404fd25fd0a73c (diff) | |
download | bitbake-eb799b44adab4701825f3dda5d982256781d7f78.tar.gz |
bitbake/fetch2/git: Fix a bug where AUTOREV and the git fetcher interact badly
Fix a bug where ud.branches were being referenced before it was set by
the git fetcher when using AUTOREV. To do this some ordering needed
to be changed. This fixes errors like:
ERROR: Error parsing /recipes-kernel/linux/rt-tests_git.bb: Failure expanding variable
SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception
AttributeError: 'FetchData' object has no attribute 'branches'
(From Poky rev: 2d2d07275c8a2d652a221c1cd74d28c2f6f226d5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/hg.py')
0 files changed, 0 insertions, 0 deletions