# HG changeset patch # User Mads Kiilerich # Date 2021-04-21 14:52:00 # Node ID 092e897458fadd918b197bad4e82926874f9bbfa # Parent cb733c39f658e7977fb58586829d1887fa129f29 hg: read hgrc, also in repo_scan This might make a difference in some real world cases. diff --git a/kallithea/model/scm.py b/kallithea/model/scm.py --- a/kallithea/model/scm.py +++ b/kallithea/model/scm.py @@ -172,7 +172,6 @@ class ScmModel(object): 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 @@ class ScmModel(object): 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))