Use ui.ui.load() to create a new ui which loads the global and user hg config

This commit is contained in:
Beren Minor
2017-09-18 13:47:01 +02:00
committed by GitHub
parent eaa9361ab0
commit 45866dbeba

View File

@@ -427,7 +427,7 @@ def updatebookmarks(repo, peer):
def get_repo(url, alias):
global peer
myui = ui.ui()
myui = ui.ui.load()
myui.setconfig('ui', 'interactive', 'off')
myui.fout = sys.stderr