forked from siemens/kas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously the top repo path was resolved when creating the config. This has proven to be problematic as at this point in time neither the home nor the git / mercurial environment is set up. This makes it impossible to configure e.g. the git safe.dir in the dynamically generated .gitconfig file, as this is created after the Config instantiation but before the init_setup_repos. We now change this by adding support to lazily resolve the top repo path. In case the IncludeHandler is created with top_repo_path=None, this path is resolved on the first access (i.e. on the first invocation of get_top_repo_path). Signed-off-by: Felix Moessbauer <[email protected]>
- Loading branch information
1 parent
2694ad6
commit f01a48e
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters