Community
Participate
Working Groups
This problem is not always reproducable. You have to execute Team->branch multiple times very fast. The branch operation fails with: Caused by: java.io.IOException: Could not rename delete old index at org.eclipse.jgit.lib.GitIndex.write(GitIndex.java:296) at org.eclipse.egit.core.op.BranchOperation.writeIndex(BranchOperation.java:126) I could reproduce the problem in the debugger (see attached stack trace). The problem is that GitIndex.write can not delete a file that is read by DirCache in the decorator thread.
Created attachment 166510 [details] Thread Dump
Just hit this today. The error message should also be corrected as "Could not rename delete old index" doesn't make any sense.
Fixed with http://egit.eclipse.org/r/#change,1152