Show More
@@ -2230,7 +2230,7 b' class localrepository(repo.repository):' | |||||
2230 | resp = int(l) |
|
2230 | resp = int(l) | |
2231 | except ValueError: |
|
2231 | except ValueError: | |
2232 | raise error.ResponseError( |
|
2232 | raise error.ResponseError( | |
2233 |
_(' |
|
2233 | _('unexpected response from remote server:'), l) | |
2234 | if resp == 1: |
|
2234 | if resp == 1: | |
2235 | raise util.Abort(_('operation forbidden by server')) |
|
2235 | raise util.Abort(_('operation forbidden by server')) | |
2236 | elif resp == 2: |
|
2236 | elif resp == 2: | |
@@ -2243,7 +2243,7 b' class localrepository(repo.repository):' | |||||
2243 | total_files, total_bytes = map(int, l.split(' ', 1)) |
|
2243 | total_files, total_bytes = map(int, l.split(' ', 1)) | |
2244 | except (ValueError, TypeError): |
|
2244 | except (ValueError, TypeError): | |
2245 | raise error.ResponseError( |
|
2245 | raise error.ResponseError( | |
2246 |
_(' |
|
2246 | _('unexpected response from remote server:'), l) | |
2247 | self.ui.status(_('%d files to transfer, %s of data\n') % |
|
2247 | self.ui.status(_('%d files to transfer, %s of data\n') % | |
2248 | (total_files, util.bytecount(total_bytes))) |
|
2248 | (total_files, util.bytecount(total_bytes))) | |
2249 | handled_bytes = 0 |
|
2249 | handled_bytes = 0 | |
@@ -2257,7 +2257,7 b' class localrepository(repo.repository):' | |||||
2257 | size = int(size) |
|
2257 | size = int(size) | |
2258 | except (ValueError, TypeError): |
|
2258 | except (ValueError, TypeError): | |
2259 | raise error.ResponseError( |
|
2259 | raise error.ResponseError( | |
2260 |
_(' |
|
2260 | _('unexpected response from remote server:'), l) | |
2261 | if self.ui.debugflag: |
|
2261 | if self.ui.debugflag: | |
2262 | self.ui.debug('adding %s (%s)\n' % |
|
2262 | self.ui.debug('adding %s (%s)\n' % | |
2263 | (name, util.bytecount(size))) |
|
2263 | (name, util.bytecount(size))) |
General Comments 0
You need to be logged in to leave comments.
Login now