LuceneExecutor could not delete the Lucene index from a working copy
| | |
| | |
|
| | | #### fixes
|
| | |
|
| | | - Gitblit could not delete a Lucene index in a working copy on index upgrade |
| | | - Do not index submodule links (issue 119)
|
| | | - Restore original user or team object on failure to update (issue 118)
|
| | | - Fixes to relative path determination in repository search algorithm for symlinks (issue 116)
|
| | |
| | | close(repositoryName);
|
| | |
|
| | | // delete the index folder
|
| | | File repositoryFolder = new File(repositoriesFolder, repositoryName);
|
| | | File repositoryFolder = FileKey.resolve(new File(repositoriesFolder, repositoryName), FS.DETECTED);
|
| | | File luceneIndex = new File(repositoryFolder, LUCENE_DIR);
|
| | | if (luceneIndex.exists()) {
|
| | | org.eclipse.jgit.util.FileUtils.delete(luceneIndex,
|