diff options
Diffstat (limited to 'bitbake/lib/bb/fetch/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch/git.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py index 35908ca8d4..9a51ed1387 100644 --- a/bitbake/lib/bb/fetch/git.py +++ b/bitbake/lib/bb/fetch/git.py | |||
@@ -242,8 +242,7 @@ class Git(Fetch): | |||
242 | """ | 242 | """ |
243 | Look in the cache for the latest revision, if not present ask the SCM. | 243 | Look in the cache for the latest revision, if not present ask the SCM. |
244 | """ | 244 | """ |
245 | persisted = bb.persist_data.persist(d) | 245 | revs = bb.persist_data.persist('BB_URI_HEADREVS', d) |
246 | revs = persisted['BB_URI_HEADREVS'] | ||
247 | 246 | ||
248 | key = self.generate_revision_key(url, ud, d, branch=True) | 247 | key = self.generate_revision_key(url, ud, d, branch=True) |
249 | 248 | ||
@@ -265,8 +264,7 @@ class Git(Fetch): | |||
265 | """ | 264 | """ |
266 | 265 | ||
267 | """ | 266 | """ |
268 | pd = bb.persist_data.persist(d) | 267 | localcounts = bb.persist_data.persist('BB_URI_LOCALCOUNT', d) |
269 | localcounts = pd['BB_URI_LOCALCOUNT'] | ||
270 | key = self.generate_revision_key(url, ud, d, branch=True) | 268 | key = self.generate_revision_key(url, ud, d, branch=True) |
271 | oldkey = self.generate_revision_key(url, ud, d, branch=False) | 269 | oldkey = self.generate_revision_key(url, ud, d, branch=False) |
272 | 270 | ||