diff -r dfc51a482031 -r 0664be4f0c1f mercurial/sshpeer.py --- a/mercurial/sshpeer.py Sat Apr 14 09:23:48 2018 -0700 +++ b/mercurial/sshpeer.py Sat Apr 14 09:57:44 2018 -0700 @@ -587,7 +587,7 @@ raise error.RepoError(_('unknown version of SSH protocol: %s') % protoname) -def instance(ui, path, create): +def instance(ui, path, create, intents=None): """Create an SSH peer. The returned object conforms to the ``wireprotov1peer.wirepeer`` interface.