diff hgext/fetch.py @ 11273:d1908cb95a82

remoteui: move from cmdutil to hg
author Matt Mackall <mpm@selenic.com>
date Tue, 01 Jun 2010 11:18:57 -0500
parents 49a07f441496
children 40c06bbf58be
line wrap: on
line diff
--- a/hgext/fetch.py	Thu Jun 03 21:38:30 2010 +0200
+++ b/hgext/fetch.py	Tue Jun 01 11:18:57 2010 -0500
@@ -61,7 +61,7 @@
             raise util.Abort(_('multiple heads in this branch '
                                '(use "hg heads ." and "hg merge" to merge)'))
 
-        other = hg.repository(cmdutil.remoteui(repo, opts),
+        other = hg.repository(hg.remoteui(repo, opts),
                               ui.expandpath(source))
         ui.status(_('pulling from %s\n') %
                   url.hidepassword(ui.expandpath(source)))