Show More
@@ -121,7 +121,7 b' class sshrepository(remoterepository):' | |||
|
121 | 121 | try: |
|
122 | 122 | l = int(l) |
|
123 | 123 | except: |
|
124 |
self.raise_( |
|
|
124 | self.raise_(util.UnexpectedOutput(_("unexpected response:"), l)) | |
|
125 | 125 | return r.read(l) |
|
126 | 126 | |
|
127 | 127 | def lock(self): |
@@ -144,7 +144,7 b' class sshrepository(remoterepository):' | |||
|
144 | 144 | try: |
|
145 | 145 | return map(bin, d[:-1].split(" ")) |
|
146 | 146 | except: |
|
147 |
self.raise_( |
|
|
147 | self.raise_(util.UnexpectedOutput(_("unexpected response:"), d)) | |
|
148 | 148 | |
|
149 | 149 | def branches(self, nodes): |
|
150 | 150 | n = " ".join(map(hex, nodes)) |
@@ -153,7 +153,7 b' class sshrepository(remoterepository):' | |||
|
153 | 153 | br = [ tuple(map(bin, b.split(" "))) for b in d.splitlines() ] |
|
154 | 154 | return br |
|
155 | 155 | except: |
|
156 |
self.raise_( |
|
|
156 | self.raise_(util.UnexpectedOutput(_("unexpected response:"), d)) | |
|
157 | 157 | |
|
158 | 158 | def between(self, pairs): |
|
159 | 159 | n = "\n".join(["-".join(map(hex, p)) for p in pairs]) |
@@ -162,7 +162,7 b' class sshrepository(remoterepository):' | |||
|
162 | 162 | p = [ l and map(bin, l.split(" ")) or [] for l in d.splitlines() ] |
|
163 | 163 | return p |
|
164 | 164 | except: |
|
165 |
self.raise_( |
|
|
165 | self.raise_(util.UnexpectedOutput(_("unexpected response:"), d)) | |
|
166 | 166 | |
|
167 | 167 | def changegroup(self, nodes, kind): |
|
168 | 168 | n = " ".join(map(hex, nodes)) |
General Comments 0
You need to be logged in to leave comments.
Login now