##// END OF EJS Templates
py3: convert an exception message to bytes...
Martin von Zweigbergk -
r46280:ed0ded64 default
parent child Browse files
Show More
@@ -1309,7 +1309,8 b' def batchremove(repo, wctx, actions):'
1309 wctx[f].remove(ignoremissing=True)
1309 wctx[f].remove(ignoremissing=True)
1310 except OSError as inst:
1310 except OSError as inst:
1311 repo.ui.warn(
1311 repo.ui.warn(
1312 _(b"update failed to remove %s: %s!\n") % (f, inst.strerror)
1312 _(b"update failed to remove %s: %s!\n")
1313 % (f, pycompat.bytestr(inst.strerror))
1313 )
1314 )
1314 if i == 100:
1315 if i == 100:
1315 yield i, f
1316 yield i, f
General Comments 0
You need to be logged in to leave comments. Login now