generic-poky/bitbake/lib/bb/fetch2
Richard Purdie acc75635b8 fetch2/git: Tweak git fetcher to handling repo updates correctly
Currently the git fetcher can malfunction when branches change in remote
repositories since whilst the update code updates the "origin" remote,
this isn't linked to the local heads.

By passing the --mirror option to 'git clone' and 'git remote add',
linkage between the local heads and remote heads is created with a 1:1
mapping, hence all the appropriate heads are then updated correctly.

This fixes some issues which have been seen with the Yocto autobuilder
mirrors.

(Bitbake rev: 3725602ec53df116dc108b3197a426b86ca43d5f)

Signed-off-by: Richard Purdie <richard.purdie@linux-foundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08 17:32:43 +01:00
..
__init__.py make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
bzr.py bitbake/fetch2: Fix the problems introduced by the git fetcher AUTOREV fix 2011-04-20 02:13:26 +01:00
cvs.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
git.py fetch2/git: Tweak git fetcher to handling repo updates correctly 2011-07-08 17:32:43 +01:00
hg.py bitbake/fetch2: Fix the problems introduced by the git fetcher AUTOREV fix 2011-04-20 02:13:26 +01:00
local.py bitbake/fetch2/local: Fix inverted update required logic 2011-03-09 11:01:35 -08:00
osc.py Fix more incorrect usages of 'is' 2011-03-31 12:23:23 +01:00
perforce.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
repo.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
ssh.py bitbake/fetch2: Add explict network access exception and handling to give users usable error messages 2011-02-11 22:08:21 +00:00
svk.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
svn.py bitbake/fetch2: Fix the problems introduced by the git fetcher AUTOREV fix 2011-04-20 02:13:26 +01:00
wget.py bitbake/fetch2/wget: Fix missing string parameter reference 2011-02-11 12:16:44 +00:00