##// END OF EJS Templates
hg: read hgrc, also in repo_scan...
Mads Kiilerich -
r8674:092e8974 default
parent child Browse files
Show More
@@ -172,7 +172,6 b' class ScmModel(object):'
172
172
173 log.info('scanning for repositories in %s', repos_path)
173 log.info('scanning for repositories in %s', repos_path)
174
174
175 baseui = make_ui()
176 repos = {}
175 repos = {}
177
176
178 for name, path in get_filesystem_repos(repos_path):
177 for name, path in get_filesystem_repos(repos_path):
@@ -185,7 +184,7 b' class ScmModel(object):'
185 raise RepositoryError('Duplicate repository name %s '
184 raise RepositoryError('Duplicate repository name %s '
186 'found in %s' % (name, path))
185 'found in %s' % (name, path))
187 else:
186 else:
188 repos[name] = get_repo(path[1], baseui=baseui)
187 repos[name] = get_repo(path[1], baseui=make_ui(path[1]))
189 except (OSError, VCSError):
188 except (OSError, VCSError):
190 continue
189 continue
191 log.debug('found %s paths with repositories', len(repos))
190 log.debug('found %s paths with repositories', len(repos))
General Comments 0
You need to be logged in to leave comments. Login now