Mercurial > public > mercurial-scm > hg-stable
diff hgext/relink.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 | b7b232b6164d |
children | 412a6e749f8d |
line wrap: on
line diff
--- a/hgext/relink.py Thu Jun 03 21:38:30 2010 +0200 +++ b/hgext/relink.py Tue Jun 01 11:18:57 2010 -0500 @@ -39,7 +39,7 @@ if not hasattr(util, 'samefile') or not hasattr(util, 'samedevice'): raise util.Abort(_('hardlinks are not supported on this system')) src = hg.repository( - cmdutil.remoteui(repo, opts), + hg.remoteui(repo, opts), ui.expandpath(origin or 'default-relink', origin or 'default')) if not src.local(): raise util.Abort('must specify local origin repository')