swh.loader.mercurial.utils module#
- swh.loader.mercurial.utils.get_minimum_env() Dict[str, str][source]#
- Return the smallest viable environment for hg suprocesses 
- swh.loader.mercurial.utils.raise_not_found_repository()[source]#
- Catches all kinds of exceptions which translate to an inexistent repository and reraise as a NotFound exception. Any other exceptions are propagated to the caller. - Raises:
- NotFound – when an inexistent repository is detected 
- * – Any other exceptions raised within the try block