equal
deleted
inserted
replaced
2073 raise util.Abort(_('the server sent an unknown error code')) |
2073 raise util.Abort(_('the server sent an unknown error code')) |
2074 self.ui.status(_('streaming all changes\n')) |
2074 self.ui.status(_('streaming all changes\n')) |
2075 l = fp.readline() |
2075 l = fp.readline() |
2076 try: |
2076 try: |
2077 total_files, total_bytes = map(int, l.split(' ', 1)) |
2077 total_files, total_bytes = map(int, l.split(' ', 1)) |
2078 except ValueError, TypeError: |
2078 except (ValueError, TypeError): |
2079 raise util.UnexpectedOutput( |
2079 raise util.UnexpectedOutput( |
2080 _('Unexpected response from remote server:'), l) |
2080 _('Unexpected response from remote server:'), l) |
2081 self.ui.status(_('%d files to transfer, %s of data\n') % |
2081 self.ui.status(_('%d files to transfer, %s of data\n') % |
2082 (total_files, util.bytecount(total_bytes))) |
2082 (total_files, util.bytecount(total_bytes))) |
2083 start = time.time() |
2083 start = time.time() |