changeset 14556 | 517e1d88bf7e |
parent 14076 | 924c82157d46 |
child 14635 | 217b7d83afc3 |
--- a/hgext/fetch.py Fri Jun 10 11:43:38 2011 -0500 +++ b/hgext/fetch.py Fri Jun 10 11:43:38 2011 -0500 @@ -63,8 +63,7 @@ raise util.Abort(_('multiple heads in this branch ' '(use "hg heads ." and "hg merge" to merge)')) - other = hg.repository(hg.remoteui(repo, opts), - ui.expandpath(source)) + other = hg.peer(repo, opts, ui.expandpath(source)) ui.status(_('pulling from %s\n') % util.hidepassword(ui.expandpath(source))) revs = None