git-repo/subcmds
Doug Anderson dafb1d68d3 Fixed repo abandon to give better messages.
The main fix is to give an error message if nothing was actually
abandoned.  See <http://crosbug.com/6041>.

The secondary fix is to list projects where the abandon happened.
This could be done in a separate CL or dropped altogether if requested.

TEST=manual

$ repo abandon dougabc; echo $?
Abandon dougabc: 100% (127/127), done.
Abandoned in 2 project(s):
  chromite
  src/platform/init
0

$ repo abandon dougabc; echo $?
Abandon dougabc: 100% (127/127), done.
error: no project has branch dougabc
1

$ repo abandon dougabc; echo $?
Abandon dougabc: 100% (127/127), done.
error: chromite/: cannot abandon dougabc
1

Change-Id: I79520cc3279291acadc1a24ca34a761e9de04ed4
2011-04-07 16:49:23 -04: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 Improve checkout performance for the common unmodified case 2009-04-18 15:04:41 -07:00
diff.py Initial Contribution 2008-10-21 07:00:00 -07:00
download.py Fix to display the usage message of the command download when the user 2011-01-09 17:39:22 -08:00
forall.py forall: Silently skip missing projects 2011-01-09 17:39:22 -08:00
grep.py Fix format string bugs in grep 2010-06-17 19:09:37 -07:00
help.py help: Don't show empty Summary or Description sections 2011-01-09 17:39:22 -08:00
init.py sync: Enable use of git clone --reference 2010-10-29 12:08:50 -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 Add option to check status of projects in parallel. 2011-04-07 16:36:42 -04:00
sync.py Fix parallel sync on python < 2.6. 2011-04-04 11:34:47 -04:00
upload.py Support repo-level pre-upload hook and prep for future hooks. 2011-03-11 11:53:23 -08:00
version.py Don't permit users to run repo status in a mirror client 2009-03-03 17:47:06 -08:00