Show More
@@ -311,7 +311,7 b' class transplanter(object):' | |||||
311 | p1 = repo.dirstate.p1() |
|
311 | p1 = repo.dirstate.p1() | |
312 | p2 = node |
|
312 | p2 = node | |
313 | self.log(user, date, message, p1, p2, merge=merge) |
|
313 | self.log(user, date, message, p1, p2, merge=merge) | |
314 | self.ui.write(str(inst) + '\n') |
|
314 | self.ui.write(util.forcebytestr(inst) + '\n') | |
315 | raise TransplantError(_('fix up the working directory and run ' |
|
315 | raise TransplantError(_('fix up the working directory and run ' | |
316 | 'hg transplant --continue')) |
|
316 | 'hg transplant --continue')) | |
317 | else: |
|
317 | else: |
@@ -1459,7 +1459,7 b' class binhunk(object):' | |||||
1459 | dec.append(util.b85decode(line[1:])[:l]) |
|
1459 | dec.append(util.b85decode(line[1:])[:l]) | |
1460 | except ValueError as e: |
|
1460 | except ValueError as e: | |
1461 | raise PatchError(_('could not decode "%s" binary patch: %s') |
|
1461 | raise PatchError(_('could not decode "%s" binary patch: %s') | |
1462 | % (self._fname, str(e))) |
|
1462 | % (self._fname, util.forcebytestr(e))) | |
1463 | line = getline(lr, self.hunk) |
|
1463 | line = getline(lr, self.hunk) | |
1464 | text = zlib.decompress(''.join(dec)) |
|
1464 | text = zlib.decompress(''.join(dec)) | |
1465 | if len(text) != size: |
|
1465 | if len(text) != size: |
General Comments 0
You need to be logged in to leave comments.
Login now