2e51779d57
This patch set replaces raising NotADirectoryError after trying to parse a repository for its root path (normalize_repo_path in pegleg.engine.util.git) with a better exception (exceptions.GitInvalidRepoException). It is better because a folder can still not be a repo, so raising the first exception isn't apropos. Next, this patch set changes where the exception is raised -- which is in normalize_repo_path itself, which is more appropriate as the function is used in many places and so there should be intrinsic error handling so as to avoid having to wrap it every time. Change-Id: I918d8c293f1140eb80c83499dba2c23af232b79e |
||
---|---|---|
.. | ||
cli | ||
diagrams | ||
images | ||
artifacts.rst | ||
authoring_strategy.rst | ||
conf.py | ||
developer-overview.rst | ||
exceptions.rst | ||
getting_started.rst | ||
index.rst |