Go to file
Hugo Arès ef8e320808 Do not delete branches concurrently.
Deleting multiple branches from the UI was resulting in a 500 error when
branches are in the packed-refs. This was happening because for each
branch to be deleted, a separate DELETE request was fired to the server.
The concurrent deletion was failing because JGit was not able to lock
the pack-ref file to remove the branch from it since the first deletion
that was getting executed already locked the file.

Add REST API call to delete multiple branches and modify
ProjectApi.deleteBranch to use that new call. When multiple branches
are deleted from the UI, one request is sent to the server to delete
all the selected branches.

Bug: issue 2706
Change-Id: I786533eb57048b1c9c67a386f0be37bf1a39853f
2015-01-28 12:44:50 -05:00
2014-11-08 08:31:08 -08:00
2014-12-18 11:16:03 +09:00
2013-11-30 01:53:00 -08:00
2015-01-27 15:32:25 +01:00
2015-01-27 15:32:25 +01:00
2015-01-22 12:15:18 -08:00
2015-01-27 00:48:59 +00:00
2015-01-27 17:11:27 +01:00
2015-01-23 22:21:42 +01:00
2015-01-21 08:29:26 +00:00
2013-11-09 07:45:00 +01:00
2015-01-23 17:56:02 +09:00
2014-05-19 11:41:31 -07:00
2008-11-14 16:59:34 -08:00
2009-03-27 20:20:10 -07:00
2015-01-27 15:32:25 +01:00
Description
RETIRED, Gerrit as used by OpenStack
120 MiB