Show More
@@ -349,7 +349,7 b' def make_ui(repo_path=None):' | |||||
349 |
|
349 | |||
350 | if repo_path is not None: |
|
350 | if repo_path is not None: | |
351 | # Note: MercurialRepository / mercurial.localrepo.instance will do this too, so it will always be possible to override db settings or what is hardcoded above |
|
351 | # Note: MercurialRepository / mercurial.localrepo.instance will do this too, so it will always be possible to override db settings or what is hardcoded above | |
352 | baseui.readconfig(repo_path) |
|
352 | baseui.readconfig(safe_bytes(os.path.join(repo_path, '.hg', 'hgrc'))) | |
353 |
|
353 | |||
354 | assert baseui.plain() # set by hgcompat.monkey_do (invoked from import of vcs.backends.hg) to minimize potential impact of loading config files |
|
354 | assert baseui.plain() # set by hgcompat.monkey_do (invoked from import of vcs.backends.hg) to minimize potential impact of loading config files | |
355 | return baseui |
|
355 | return baseui |
General Comments 0
You need to be logged in to leave comments.
Login now