Mercurial > hg-stable
changeset 17276:eac3f9c2f9c5 stable
largefiles: use hg.peer instead of hg.remoteui
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Sat, 28 Jul 2012 22:55:01 +0200 |
parents | 8c3951e233f4 |
children | 323de4f49bd1 |
files | hgext/largefiles/overrides.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py Sun Jul 29 16:19:32 2012 +0900 +++ b/hgext/largefiles/overrides.py Sat Jul 28 22:55:01 2012 +0200 @@ -934,10 +934,8 @@ if revs: revs = [repo.lookup(rev) for rev in scmutil.revrange(repo, revs)] - remoteui = hg.remoteui - try: - remote = hg.repository(remoteui(repo, opts), dest) + remote = hg.peer(repo, opts, dest) except error.RepoError: return None o = lfutil.findoutgoing(repo, remote, False)