Mercurial > hg
diff hgext/largefiles/uisetup.py @ 18298:3598c585e464
largefiles: remove unused proto.refuseclient code
Should have been removed with other pre-1.9 code in 7c604d8c7e83.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 11 Jan 2013 16:30:29 +0100 |
parents | e16982a74bf7 |
children | c9db897d5a43 |
line wrap: on
line diff
--- a/hgext/largefiles/uisetup.py Thu Jan 03 17:42:25 2013 +0100 +++ b/hgext/largefiles/uisetup.py Fri Jan 11 16:30:29 2013 +0100 @@ -9,9 +9,9 @@ '''setup for largefiles extension: uisetup''' from mercurial import archival, cmdutil, commands, extensions, filemerge, hg, \ - httppeer, localrepo, merge, scmutil, sshpeer, sshserver, wireproto + httppeer, localrepo, merge, scmutil, sshpeer, wireproto from mercurial.i18n import _ -from mercurial.hgweb import hgweb_mod, protocol, webcommands +from mercurial.hgweb import hgweb_mod, webcommands from mercurial.subrepo import hgsubrepo import overrides @@ -144,11 +144,6 @@ proto.capabilitiesorig = wireproto.capabilities wireproto.capabilities = proto.capabilities - # these let us reject non-largefiles clients and make them display - # our error messages - protocol.webproto.refuseclient = proto.webprotorefuseclient - sshserver.sshserver.refuseclient = proto.sshprotorefuseclient - # can't do this in reposetup because it needs to have happened before # wirerepo.__init__ is called proto.ssholdcallstream = sshpeer.sshpeer._callstream