checkstatus() is used to ensure we can fetch a copy of each file, so it makes sense to also test PREMIRRORS and MIRRORS in the method. This patch adds calls to try_mirrors() to the Fetch.checkstatus() method and changes the try_mirrors() method to take a check argument, which is False by default. When check is True try_mirrors() will call a fetchers checkstatus() with the replaced uri. Signed-off-by: Joshua Lock <josh@linux.intel.com> |
||
---|---|---|
.. | ||
__init__.py | ||
bzr.py | ||
cvs.py | ||
git.py | ||
hg.py | ||
local.py | ||
osc.py | ||
perforce.py | ||
ssh.py | ||
svk.py | ||
svn.py | ||
wget.py |