git-repo/subcmds
Shawn O. Pearce 0a389e94de Make 'repo start' restartable upon failures
If `repo start foo` fails due to uncommitted and unmergeable changes
in a single project, we have switched half of the projects over to
the new target branches, but didn't on the one that failed to move.

This change improves the situation by doing three things differently:

- We keep going when we encounter an error, so other projects
  that can successfully switch still switch.

- We ignore projects whose current branch is already on the
  requested name; they are logically already setup.

- We checkout the branch if it already exists, rather than
  trying to recreate the branch.

Bug: REPO-22
Signed-off-by: Shawn O. Pearce <sop@google.com>
2009-04-10 16:21:18 -07:00
..
__init__.py Initial Contribution 2008-10-21 07:00:00 -07:00
abandon.py Introduce 'repo abandon <branchname>' as an alias for 'git branch -D' 2008-11-03 11:24:59 -08:00
branches.py Add a repo branches subcommand to describe current branches 2009-04-10 16:02:48 -07:00
checkout.py Add checkout command. 2009-04-10 13:01:24 -07:00
diff.py Initial Contribution 2008-10-21 07:00:00 -07:00
download.py Teach repo how to download changes to the local checkout 2008-10-23 14:43:28 -07:00
forall.py Set forall environment variables to empty string if None 2009-03-17 08:03:04 -07:00
help.py Add a 'repo manifest' command whose help is the manifest file format 2009-03-04 14:26:50 -08:00
init.py Make 'repo start' restartable upon failures 2009-04-10 16:21:18 -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
stage.py Initial Contribution 2008-10-21 07:00:00 -07:00
start.py Make 'repo start' restartable upon failures 2009-04-10 16:21:18 -07:00
status.py Initial Contribution 2008-10-21 07:00:00 -07:00
sync.py Don't permit users to run repo status in a mirror client 2009-03-03 17:47:06 -08:00
upload.py Don't bother listing branch URLs during upload 2009-03-19 10:20:27 -07:00
version.py Don't permit users to run repo status in a mirror client 2009-03-03 17:47:06 -08:00