Show More
@@ -141,6 +141,9 class httprepository(wireproto.wirerepos | |||
|
141 | 141 | def _call(self, cmd, **args): |
|
142 | 142 | return self.do_read(cmd, **args) |
|
143 | 143 | |
|
144 | def _callstream(self, cmd, **args): | |
|
145 | return self.do_cmd(cmd, **args) | |
|
146 | ||
|
144 | 147 | def _abort(self, exception): |
|
145 | 148 | raise exception |
|
146 | 149 | |
@@ -205,9 +208,6 class httprepository(wireproto.wirerepos | |||
|
205 | 208 | fp.close() |
|
206 | 209 | os.unlink(tempname) |
|
207 | 210 | |
|
208 | def stream_out(self): | |
|
209 | return self.do_cmd('stream_out') | |
|
210 | ||
|
211 | 211 | class httpsrepository(httprepository): |
|
212 | 212 | def __init__(self, ui, path): |
|
213 | 213 | if not url.has_https: |
@@ -136,6 +136,9 class sshrepository(wireproto.wirereposi | |||
|
136 | 136 | self.do_cmd(cmd, **args) |
|
137 | 137 | return self._recv() |
|
138 | 138 | |
|
139 | def _callstream(self, cmd, **args): | |
|
140 | return self.do_cmd(cmd, **args) | |
|
141 | ||
|
139 | 142 | def _recv(self): |
|
140 | 143 | l = self.pipei.readline() |
|
141 | 144 | self.readerr() |
@@ -224,7 +227,4 class sshrepository(wireproto.wirereposi | |||
|
224 | 227 | except: |
|
225 | 228 | self.abort(error.ResponseError(_("unexpected response:"), r)) |
|
226 | 229 | |
|
227 | def stream_out(self): | |
|
228 | return self.do_cmd('stream_out') | |
|
229 | ||
|
230 | 230 | instance = sshrepository |
General Comments 0
You need to be logged in to leave comments.
Login now