bitbake: bitbake: fetch2: Remove the unused urldata from the git fetcher.
authorFlorin Sarbu <florin.sarbu@windriver.com>
Mon, 25 Nov 2013 10:33:50 +0000 (12:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Nov 2013 13:00:18 +0000 (13:00 +0000)
(Bitbake rev: e0a2e9699e9f338dd7ade8c9eef0a12c7639ec05)

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/git.py

index b236631..a9470e4 100644 (file)
@@ -125,7 +125,7 @@ class Git(FetchMethod):
             if not ud.revisions[name] or len(ud.revisions[name]) != 40  or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]):
                 if ud.revisions[name]:
                     ud.branches[name] = ud.revisions[name]
-                ud.revisions[name] = self.latest_revision(ud.url, ud, d, name)
+                ud.revisions[name] = self.latest_revision(ud, d, name)
 
         gitsrcname = '%s%s' % (ud.host.replace(':','.'), ud.path.replace('/', '.').replace('*', '.'))
         # for rebaseable git repo, it is necessary to keep mirror tar ball