diff --git a/hgitaly/service/repository.py b/hgitaly/service/repository.py index 6944f8946ada31db0c8837e737dfbc5b132869f1_aGdpdGFseS9zZXJ2aWNlL3JlcG9zaXRvcnkucHk=..c5a8ff21803651cb3d243c36ac1e32741eaf045f_aGdpdGFseS9zZXJ2aWNlL3JlcG9zaXRvcnkucHk= 100644 --- a/hgitaly/service/repository.py +++ b/hgitaly/service/repository.py @@ -489,6 +489,7 @@ def FetchBundle(self, request: FetchBundleRequest, context) -> FetchBundleResponse: def load_or_init_repo(req, context): + # TODO this should move to hgitaly.repository repo_path = self.repo_disk_path(req.repository, context) if os.path.lexists(repo_path): logger.info("FetchBundle: no need to create repo %r", @@ -517,6 +518,7 @@ contains only data (i.e. the actual bundle sent in parts). """ def init_repo(req, context): + # TODO should move to hgitaly.repository self.hg_init_repository(req.repository, context) return self.load_repo(req.repository, context)