fetch/git.py: BB_GIT_CLONE_FOR_SRCREV updates
authorRichard Purdie <rpurdie@linux.intel.com>
Sun, 22 Nov 2009 00:04:45 +0000 (00:04 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Sun, 22 Nov 2009 00:04:45 +0000 (00:04 +0000)
commit08e8144be8b564f2dea35c1680a4653f043ec2e2
treea6764be3f66df64138b1fe4deb2c472707f8b8c0
parentec786d3246aaffd0109ad13f81b932b07448a572
fetch/git.py: BB_GIT_CLONE_FOR_SRCREV updates

Based on a patch from Martin Jansa <Martin.Jansa@gmail.com>:

* Add a _sortable_buildindex attribute and return the index separate from
  the revision
* This means the git.py internal cache is no longer needed
* Adds the returned value to the cache so if the mechanism for
  selecting the index changes, the values increase.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
lib/bb/fetch/__init__.py
lib/bb/fetch/git.py