summaryrefslogtreecommitdiffstats
path: root/subcmds/cherry_pick.py
diff options
context:
space:
mode:
authorDoug Anderson <dianders@google.com>2011-04-07 11:46:59 -0700
committerShawn O. Pearce <sop@google.com>2011-04-07 16:49:23 -0400
commitdafb1d68d33137779c96a83c7e42cac0e7a27ca4 (patch)
treee0e3c93d316c8cdf48a15fec97c458b391a6039e /subcmds/cherry_pick.py
parent4655e81a75f2ea5f1eaf93de1249886171281e61 (diff)
downloadgit-repo-dafb1d68d33137779c96a83c7e42cac0e7a27ca4.tar.gz
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
Diffstat (limited to 'subcmds/cherry_pick.py')
0 files changed, 0 insertions, 0 deletions