]> code.ossystems Code Review - openembedded-core.git/commit
bitbake/fetch: ensure the mirrored repository is updated as required
authorJoshua Lock <josh@linux.intel.com>
Fri, 27 Aug 2010 14:52:08 +0000 (15:52 +0100)
committerJoshua Lock <josh@linux.intel.com>
Wed, 1 Sep 2010 10:14:57 +0000 (11:14 +0100)
commit232ef8430e2cfbf6eee54f602dc74b9986e3997f
tree469e11c3fdc5e8beb9b8ded9bce0ec53c5ba3af5
parent5c229f921fbd6f1ffae4038c05bf32f9b4051684
bitbake/fetch: ensure the mirrored repository is updated as required

If we fetch a tarball from a mirror it's entirely possible that the
mirror will have been from before the required tag/branch/etc was included
in the repository. To that end use forcefetch() as a way of testing whether
the repository is up to date and if not fetch updates.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
bitbake/lib/bb/fetch/__init__.py