> -            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?
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to