diff --git hgext tasks py hgext tasks py --- hgext tasks py hgext task

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
diff --git a/hgext/tasks.py b/hgext/tasks.py
--- a/hgext/tasks.py
+++ b/hgext/tasks.py
@@ -1020,7 +1020,7 @@ def taskspush(orig, ui, repo, dest=None,
dest, revs, checkout = hg.parseurl(
ui.expandpath(dest or 'default-push', dest or 'default'),
opts.get('rev'))
- cmdutil.setremoteconfig(ui, opts)
+ cmdutil.remoteui(ui, opts)
other = hg.repository(ui, dest)
ui.status(_('pushing to %s\n') % url.hidepassword(dest))