changeset 8188 | f3abe032fc89 |
parent 8112 | 6ee71f78497c |
child 8225 | 46293a0c7e9f |
--- a/hgext/fetch.py Sun Apr 26 16:50:43 2009 -0500 +++ b/hgext/fetch.py Sun Apr 26 16:50:43 2009 -0500 @@ -60,9 +60,8 @@ raise util.Abort(_('multiple heads in this branch ' '(use "hg heads ." and "hg merge" to merge)')) - cmdutil.setremoteconfig(ui, opts) - - other = hg.repository(ui, ui.expandpath(source)) + other = hg.repository(cmdutil.remoteui(repo, opts), + ui.expandpath(source)) ui.status(_('pulling from %s\n') % url.hidepassword(ui.expandpath(source))) revs = None