hgext/largefiles/proto.py
changeset 18298 3598c585e464
parent 17192 1ac628cd7113
child 18488 a977b42df8b3
--- a/hgext/largefiles/proto.py	Thu Jan 03 17:42:25 2013 +0100
+++ b/hgext/largefiles/proto.py	Fri Jan 11 16:30:29 2013 +0100
@@ -140,19 +140,6 @@
 def capabilities(repo, proto):
     return capabilitiesorig(repo, proto) + ' largefiles=serve'
 
-# duplicate what Mercurial's new out-of-band errors mechanism does, because
-# clients old and new alike both handle it well
-def webprotorefuseclient(self, message):
-    self.req.header([('Content-Type', 'application/hg-error')])
-    return message
-
-def sshprotorefuseclient(self, message):
-    self.ui.write_err('%s\n-\n' % message)
-    self.fout.write('\n')
-    self.fout.flush()
-
-    return ''
-
 def heads(repo, proto):
     if lfutil.islfilesrepo(repo):
         return wireproto.ooberror(LARGEFILES_REQUIRED_MSG)