RepositoryService: implement RemoveRepository
Closes #95 This is in advance of the HGitaly3 milestone, but needed for gitaly-backup (removal occurs before restoration). We don't attempt to provide the same level of locking as Gitaly does, both because this is not the best time to handle locking for mutation methods and because this is a special case, but we split the work into atomic rename and cleanup (cheap to implement). See also heptapod#534
parent
2abfea4c
No related branches found
No related tags found
Showing
- hgitaly/service/repository.py 44 additions, 0 deletionshgitaly/service/repository.py
- hgitaly/service/tests/test_repository_service.py 35 additions, 0 deletionshgitaly/service/tests/test_repository_service.py
- tests_with_gitaly/test_repository_service.py 20 additions, 0 deletionstests_with_gitaly/test_repository_service.py
Please register or sign in to comment