mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-05-07 00:06:21 +02:00
Use ui.ui.load() to create a new ui which loads the global and user hg config
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user