# HG changeset patch # User Anton Shestakov # Date 1673616783 -14400 # Node ID f3e95e5a589514d3809f3f4a39bc594dae0f74ec # Parent 8f9fbc665928dd2f155081f202cf248cfba8f9de convert: replace repr() by pycompat.byterepr() in cvsps.py (issue6789) diff -r 8f9fbc665928 -r f3e95e5a5895 hgext/convert/cvsps.py --- a/hgext/convert/cvsps.py Fri Jan 13 00:56:37 2023 +0400 +++ b/hgext/convert/cvsps.py Fri Jan 13 17:33:03 2023 +0400 @@ -686,7 +686,10 @@ files = set() if len(changesets) % 100 == 0: - t = b'%d %s' % (len(changesets), repr(e.comment)[1:-1]) + t = b'%d %s' % ( + len(changesets), + pycompat.byterepr(e.comment)[2:-1], + ) ui.status(stringutil.ellipsis(t, 80) + b'\n') c.entries.append(e)