diff mercurial/wireproto.py @ 11622:1d48681b17a4

protocol: rename send methods to get grouping by prefix
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Fri, 16 Jul 2010 18:18:35 +0200
parents 86b49e0083a7
children 31d0a6d50ee2
line wrap: on
line diff
--- a/mercurial/wireproto.py	Fri Jul 16 18:16:15 2010 +0200
+++ b/mercurial/wireproto.py	Fri Jul 16 18:18:35 2010 +0200
@@ -138,7 +138,7 @@
     args = proto.getargs(spec)
     r = func(repo, proto, *args)
     if r != None:
-        proto.respond(r)
+        proto.sendresponse(r)
 
 def between(repo, proto, pairs):
     pairs = [decodelist(p, '-') for p in pairs.split(" ")]
@@ -262,7 +262,7 @@
                 sys.stderr.write("abort: %s\n" % inst)
         finally:
             lock.release()
-            proto.respondpush(r)
+            proto.sendpushresponse(r)
 
     finally:
         fp.close()