equal
deleted
inserted
replaced
1224 """ |
1224 """ |
1225 if opargs is None: |
1225 if opargs is None: |
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:" |
1234 " %s") % (', '.join(sorted(missing))) |
1236 " %s") % (', '.join(sorted(missing))) |
1235 raise error.Abort(msg) |
1237 raise error.Abort(msg) |