After this patch, test-fastannotate-diffopts.t is about to pass. There are some
extra newlines in the output.
Details
Details
- Reviewers
 - None
 - Group Reviewers
 hg-reviewers - Commits
 - rHG001f27970b60: py3: replace str() with pycompat.bytestr() or ('%d' % int)
 
Diff Detail
Diff Detail
- Repository
 - rHG Mercurial
 - Lint
 Lint Skipped - Unit
 Unit Tests Skipped 
Event Timeline
Comment Actions
- revenc = lambda x: wrev if x is None else str(x) + wrevpad
 - csetenc = lambda x: wnode if x is None else str(x) + ' '
 + revenc = lambda x: wrev if x is None else ('%d' % x) + wrevpad
+ csetenc = lambda x: wnode if x is None else pycompat.bytestr(x) + ' '
check-code complains that the line is too long. Maybe rewrite as a function?