MercurialRepositoryService.Push: main implementation
We separate the concern of initialization of the remote peer in the new `hgitaly.peer` module. URLs referencing the local file system of the HGitaly server are accepted (for they are very convenient in tests) yet restrained to the relevant storage, thus not adding more rights than the callers already have. We expect the logic to be the same for future subsystems using remote peers. SSH remotes are not implemented yet. The test case for exception raised by `urlparse()` would not pass with Python 3.7 (NKFC normalization exception was introduced in Python 3.8), this was actually the original motivation for dropping Python 3.7 compatibility (see 019dc802a624). Closes #87
parent
52dd4c16
No related branches found
No related tags found
Showing
Loading
Please register or sign in to comment