try {
RmCommand remover = git.rm();
for (FileVersion fileVersion : files) {
remover.addFilepattern(getPath(fileVersion.getFile(), repository));
}
remover.call();
commit(git, String.format("[FitNesse] Deleted files: %s.", formatFileVersions(files)), files[0].getAuthor());
} catch (Exception e) {
throw new RuntimeException(e);
}
persistence.delete(files);