Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 35859:1bf5263fe5cc
wireprotoserver: move sshserver into module (API)
Let's welcome the SSH protocol handler to our new central home
for protocol handlers.
.. api::
Content from mercurial.sshserver has been moved into
mercurial.wireprotoserver.
Differential Revision: https://phab.mercurial-scm.org/D1968
# no-check-commit because we're moving a foo_bar function
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 31 Jan 2018 10:48:35 -0800 |
parents | 56891a790012 |
children | c8e2d6ed1f9e |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Jan 31 11:13:11 2018 -0800 +++ b/mercurial/commands.py Wed Jan 31 10:48:35 2018 -0800 @@ -53,12 +53,12 @@ rewriteutil, scmutil, server, - sshserver, streamclone, tags as tagsmod, templatekw, ui as uimod, util, + wireprotoserver, ) release = lockmod.release @@ -4756,7 +4756,7 @@ if repo is None: raise error.RepoError(_("there is no Mercurial repository here" " (.hg not found)")) - s = sshserver.sshserver(ui, repo) + s = wireprotoserver.sshserver(ui, repo) s.serve_forever() service = server.createservice(ui, repo, opts)