Submitter | phabricator |
---|---|
Date | Aug. 8, 2017, 3:24 a.m. |
Message ID | <differential-rev-PHID-DREV-fbtd45e4uz4xym36kd3x-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/22734/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -1216,8 +1216,10 @@ opargs = {} pullop = pulloperation(repo, remote, heads, force, bookmarks=bookmarks, streamclonerequested=streamclonerequested, **opargs) - if pullop.remote.local(): - missing = set(pullop.remote.requirements) - pullop.repo.supported + + peerlocal = pullop.remote.local() + if peerlocal: + missing = set(peerlocal.requirements) - pullop.repo.supported if missing: msg = _("required features are not" " supported in the destination:"