##// END OF EJS Templates
commands: directly use exchange.pull...
Pierre-Yves David -
r22694:21d5416b default
parent child Browse files
Show More
@@ -4960,8 +4960,9 b' def pull(ui, repo, source="default", **o'
4960 "so a rev cannot be specified.")
4960 "so a rev cannot be specified.")
4961 raise util.Abort(err)
4961 raise util.Abort(err)
4962
4962
4963 modheads = repo.pull(other, heads=revs, force=opts.get('force'),
4963 modheads = exchange.pull(repo, other, heads=revs,
4964 bookmarks=opts.get('bookmark', ()))
4964 force=opts.get('force'),
4965 bookmarks=opts.get('bookmark', ())).cgresult
4965 if checkout:
4966 if checkout:
4966 checkout = str(repo.changelog.rev(other.lookup(checkout)))
4967 checkout = str(repo.changelog.rev(other.lookup(checkout)))
4967 repo._subtoppath = source
4968 repo._subtoppath = source
General Comments 0
You need to be logged in to leave comments. Login now