Mercurial > kallithea
changeset 8875:092e897458fa
hg: read hgrc, also in repo_scan
This might make a difference in some real world cases.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 21 Apr 2021 14:52:00 +0200 |
parents | cb733c39f658 |
children | 8a44425facba 81e6b5e62a2c |
files | kallithea/model/scm.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/model/scm.py Wed Apr 21 14:48:53 2021 +0200 +++ b/kallithea/model/scm.py Wed Apr 21 14:52:00 2021 +0200 @@ -172,7 +172,6 @@ log.info('scanning for repositories in %s', repos_path) - baseui = make_ui() repos = {} for name, path in get_filesystem_repos(repos_path): @@ -185,7 +184,7 @@ raise RepositoryError('Duplicate repository name %s ' 'found in %s' % (name, path)) else: - repos[name] = get_repo(path[1], baseui=baseui) + repos[name] = get_repo(path[1], baseui=make_ui(path[1])) except (OSError, VCSError): continue log.debug('found %s paths with repositories', len(repos))