# HG changeset patch # User Pierre-Yves David # Date 1412352672 18000 # Node ID 21d5416b8a8acb9ac3bb6300e1f105a8e7a4d6b9 # Parent 68439b1540633fb32c67b351cc2afade22773544 commands: directly use exchange.pull localrepo.pull is going away. See explanations in 4d52e6eb98ea. diff -r 68439b154063 -r 21d5416b8a8a mercurial/commands.py --- a/mercurial/commands.py Fri Oct 03 11:07:47 2014 -0500 +++ b/mercurial/commands.py Fri Oct 03 11:11:12 2014 -0500 @@ -4960,8 +4960,9 @@ "so a rev cannot be specified.") raise util.Abort(err) - modheads = repo.pull(other, heads=revs, force=opts.get('force'), - bookmarks=opts.get('bookmark', ())) + modheads = exchange.pull(repo, other, heads=revs, + force=opts.get('force'), + bookmarks=opts.get('bookmark', ())).cgresult if checkout: checkout = str(repo.changelog.rev(other.lookup(checkout))) repo._subtoppath = source