D5449: pull: fix inconsistent view of bookmarks during pull (issue4700)
valentin.gatienbaron (Valentin Gatien-Baron)
phabricator at mercurial-scm.org
Sun Dec 23 23:00:14 EST 2018
valentin.gatienbaron added a comment.
Thanks!
> IIRC, listkeys is a newer command than lookup. If the peer doesn't support listkeys, I suspect this batch query would fail. In that case, maybe listkeys has to be skipped if the peer doesn't support it and if --bookmark is not specified.
listkeys shouldn't need compatibility check in the caller, because it's defined like this in wireprotov1peer.py (https://www.mercurial-scm.org/repo/hg-committed/file/tip/mercurial/wireprotov1peer.py#l381):
@batchable
def listkeys(self, namespace):
if not self.capable('pushkey'):
yield {}, None
...
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5449
To: valentin.gatienbaron, #hg-reviewers
Cc: yuja, indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list