mercurial/wireproto.py
changeset 18382 f3b21beb9802
parent 18381 7ac4449f0f39
child 18957 6b618aa08b6e
--- a/mercurial/wireproto.py	Tue Jan 15 20:55:47 2013 +0100
+++ b/mercurial/wireproto.py	Sun Jan 13 01:39:16 2013 -0600
@@ -345,7 +345,7 @@
         self.message = message
 
 def dispatch(repo, proto, command):
-    repo = repo.filtered("unserved")
+    repo = repo.filtered("served")
     func, spec = commands[command]
     args = proto.getargs(spec)
     return func(repo, proto, *args)
@@ -362,7 +362,7 @@
     return opts
 
 def batch(repo, proto, cmds, others):
-    repo = repo.filtered("unserved")
+    repo = repo.filtered("served")
     res = []
     for pair in cmds.split(';'):
         op, args = pair.split(' ', 1)