##// END OF EJS Templates
exchange: access requirements on repo instead of peer...
Gregory Szorc -
r33668:03348493 default
parent child Browse files
Show More
@@ -1226,8 +1226,10 b' def pull(repo, remote, heads=None, force'
1226 opargs = {}
1226 opargs = {}
1227 pullop = pulloperation(repo, remote, heads, force, bookmarks=bookmarks,
1227 pullop = pulloperation(repo, remote, heads, force, bookmarks=bookmarks,
1228 streamclonerequested=streamclonerequested, **opargs)
1228 streamclonerequested=streamclonerequested, **opargs)
1229 if pullop.remote.local():
1229
1230 missing = set(pullop.remote.requirements) - pullop.repo.supported
1230 peerlocal = pullop.remote.local()
1231 if peerlocal:
1232 missing = set(peerlocal.requirements) - pullop.repo.supported
1231 if missing:
1233 if missing:
1232 msg = _("required features are not"
1234 msg = _("required features are not"
1233 " supported in the destination:"
1235 " supported in the destination:"
General Comments 0
You need to be logged in to leave comments. Login now