Go to file
Shawn O. Pearce 3778f9d47e Fix repo prune to work on git 1.6.1-rc3~5 and later
Prior to git 1.6.1-rc3~5 the output of 'git branch -d' matched:

  Deleted branch (.*)\.

where the subgroup grabbed the branch name. In v1.6.1-rc3~5 (aka
a126ed0a01e265d7f3b2972a34e85636e12e6d34) Brandon Casey changed
the output to include the SHA-1 of the branch name, now matching
the pattern:

  Deleted branch (.*) \([0-9a-f]*\)\.

Instead of parsing the output of git branch we now re-obtain the
list of branches after the deletion attempt and perform a set
difference in memory to determine which branches we were able to
successfully delete.

Bug: REPO-9
Signed-off-by: Shawn O. Pearce <sop@google.com>
2009-03-02 12:38:36 -08:00
docs Support <remove-project name="X"> in manifest to remove/replace X 2008-11-20 11:54:46 -08:00
hooks Install a default pre-auto-gc hook in all repositories 2008-11-03 11:00:44 -08:00
subcmds Describe upload --replace in upload's help text 2008-12-12 08:04:07 -08:00
.gitignore Initial Contribution 2008-10-21 07:00:00 -07:00
color.py Fix color parsing to not crash when user defined colors are set 2009-02-02 16:17:02 -08:00
command.py Initial Contribution 2008-10-21 07:00:00 -07:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Make repo's editor work when the editor is a commandline with 2008-11-14 21:12:44 -05:00
error.py Install a default pre-auto-gc hook in all repositories 2008-11-03 11:00:44 -08:00
git_command.py Initial Contribution 2008-10-21 07:00:00 -07:00
git_config.py Support Gerrit2's ssh:// based upload 2009-01-05 16:34:27 -08:00
main.py Install a default pre-auto-gc hook in all repositories 2008-11-03 11:00:44 -08:00
manifest.py Support <remove-project name="X"> in manifest to remove/replace X 2008-11-20 11:54:46 -08:00
pager.py Initial Contribution 2008-10-21 07:00:00 -07:00
project.py Fix repo prune to work on git 1.6.1-rc3~5 and later 2009-03-02 12:38:36 -08:00
remote.py Add <remote project-name="..."> attribute within projects 2008-11-06 11:23:06 -08:00
repo Correct the REPO_URL in the wrapper script to android.git.kernel.org 2008-12-18 07:21:32 -08:00