git-repo/subcmds
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
..
__init__.py Initial Contribution 2008-10-21 07:00:00 -07:00
abandon.py Fixed repo abandon to give better messages. 2011-04-07 16:49:23 -04:00
branches.py branches: Enable output of multiple projects 2010-05-04 07:51:28 -07:00
checkout.py Fixed repo checkout error message when git reports errors. 2011-04-07 16:55:35 -04:00
cherry_pick.py Added repo cherry-pick command 2011-04-07 17:19:06 -04:00
diff.py Option for 'repo diff' to generate output suitable for 'patch' cmd 2012-04-13 09:20:10 -07:00
download.py repo download: add --ff-only option 2012-05-24 09:04:20 -07:00
forall.py Add project annotation handling to repo 2012-04-23 12:35:08 -07:00
grep.py Fix format string bugs in grep 2010-06-17 19:09:37 -07:00
help.py help: Fix help sync 2011-10-11 15:23:41 -07:00
init.py Fix switching manifest branches using repo init -b 2012-06-13 10:00:57 -07:00
list.py Add 'list' command to repo. 2011-03-16 12:55:44 -07:00
manifest.py Add repo manifest -o to save a manifest 2009-03-05 10:32:38 -08:00
prune.py Initial Contribution 2008-10-21 07:00:00 -07:00
rebase.py rebase: Pass through more options 2010-07-15 17:43:02 -07:00
selfupdate.py sync: Run git gc --auto after fetch 2011-01-09 17:39:22 -08:00
smartsync.py Aliasing sync -s to 'smartsync' 2010-05-17 09:58:55 -07:00
stage.py Only display project path in 'repo stage -i' 2009-04-18 11:22:13 -07:00
start.py Require a project or '--all' to be specified when using 'repo start'. 2009-04-22 18:05:50 -07:00
status.py Avoid failing concat for multi-encoding filenames 2012-05-24 08:58:10 -07:00
sync.py Add manifest groups 2012-04-13 09:46:00 -07:00
upload.py repo: Add option review.URL.uploadtopic support 2012-06-05 08:01:29 -07:00
version.py Describe the repo launch version in repo version 2011-11-29 15:02:15 -08:00