| Issue 3042: | Cannot delete more than one branch at a tiem | |
| 1 person starred this issue and may be notified of changes. | Back to list |
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! *****
************************************************************
Affected Version: 2.9.1
What steps will reproduce the problem?
1. Projects > List > <some-repo> > Branches
2. Select multiple branches
3. Press delete
What is the expected output? What do you see instead?
branches should disappear :) we get this instead:
[2014-12-04 14:04:39,551] ERROR com.google.gerrit.httpd.restapi.RestApiServlet : Error in DELETE /projects/repo/branches/refs%2Fheads%2Fdev%2Fuser%2Fbranch
org.eclipse.jgit.errors.LockFailedException: Cannot lock /wamas/repositories/repo.git/packed-refs
at org.eclipse.jgit.internal.storage.file.RefDirectory.delete(RefDirectory.java:565)
at org.eclipse.jgit.internal.storage.file.RefDirectoryUpdate.doDelete(RefDirectoryUpdate.java:144)
at org.eclipse.jgit.lib.RefUpdate$2.execute(RefUpdate.java:545)
at org.eclipse.jgit.lib.RefUpdate.updateImpl(RefUpdate.java:624)
at org.eclipse.jgit.lib.RefUpdate.delete(RefUpdate.java:542)
at org.eclipse.jgit.lib.RefUpdate.delete(RefUpdate.java:515)
at com.google.gerrit.server.project.DeleteBranch.apply(DeleteBranch.java:80)
at com.google.gerrit.server.project.DeleteBranch.apply(DeleteBranch.java:38)
at com.google.gerrit.httpd.restapi.RestApiServlet.service(RestApiServlet.java:303)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
One of the selected branches is deleted, the others stay. I can repeat this until all branches are gone (only one is deleted, the others stay). It does not seem to matter which branches I select, it's always the same.
Please provide any additional information below.
Dec 4, 2014
Project Member
#1
huga...@gmail.com
Status:
Accepted
Dec 4, 2014
(No comment was entered for this change.)
Status:
Duplicate
Mergedinto: 2706 |
|
| ► Sign in to add a comment |