Florian Vallee 5d016502eb Fix switching manifest branches using repo init -b
See repo issue #46 :
	https://code.google.com/p/git-repo/issues/detail?id=46

When using repo init -b on an already existing repository,
the next sync will try to rebase changes coming from the old manifest
branch onto the new, leading in the best case scenario to conflicts
and in the worst case scenario to an incorrect "mixed up" manifest.

This patch fixes this by deleting the "default" branch in the local
manifest repository when the -d init switch is used, thus forcing
repo to perform a fresh checkout of the new manifest branch

Change-Id: I379e4875ec5357d8614d1197b6afbe58f9606751
2012-06-13 10:00:57 -07:00
2012-05-24 09:07:24 -07:00
2009-06-02 00:09:07 +02:00
2009-06-02 00:09:07 +02:00
2012-04-23 13:43:41 -07:00
2008-10-21 07:00:00 -07:00
2012-04-13 09:46:00 -07:00
2012-06-07 20:19:04 -07:00
2011-09-19 14:52:57 -07:00
2012-02-28 18:54:33 -08:00
Description
No description provided
Apache-2.0 35 MiB
Languages
Python 99.1%
Shell 0.9%