Changeset 3bc0754236db…
Parent 103724aa4e21…
by
Changes to one file · Browse files at 3bc0754236db Showing diff from parent 103724aa4e21 Diff from another changeset...
@@ -141,8 +141,16 @@ raise
path = hglib.rootpath(os.getcwd())
+ if path:
+ try:
+ lui = _ui.ui(parentui=ui)
+ lui.readconfig(os.path.join(path, ".hg", "hgrc"))
+ except IOError:
+ pass
+ else:
+ lui = ui
if options['repository']:
- path = ui.expandpath(options['repository'])
+ path = lui.expandpath(options['repository'])
if cmd not in nonrepo_commands.split():
try:
|
Loading...