Mercurial > hg
comparison mercurial/wireproto.py @ 11588:8a1f625e971d
protocol: unify stream_out client code
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 14 Jul 2010 16:55:44 -0500 |
parents | a036f6bd1da3 |
children | 0d9cb3f3b0a1 |
comparison
equal
deleted
inserted
replaced
11587:a036f6bd1da3 | 11588:8a1f625e971d |
---|---|
86 for l in d.splitlines(): | 86 for l in d.splitlines(): |
87 k, v = l.split('\t') | 87 k, v = l.split('\t') |
88 r[k.decode('string-escape')] = v.decode('string-escape') | 88 r[k.decode('string-escape')] = v.decode('string-escape') |
89 return r | 89 return r |
90 | 90 |
91 def stream_out(self): | |
92 return self._callstream('stream_out') | |
93 | |
91 # server side | 94 # server side |
92 | 95 |
93 def dispatch(repo, proto, command): | 96 def dispatch(repo, proto, command): |
94 if command not in commands: | 97 if command not in commands: |
95 return False | 98 return False |