private void initRepository()
{
GitSystem.createAndAddService();
LocalRepositoryService localRepositoryService =
LocalRepositoryService.createAndAddService();
RepositorySpi localRepository = localRepositoryService.getRepositorySpi();
AbstractRepository repository = createRepository(localRepository);
RepositoryService.createAndAddService(repository);
}