yuja added a comment.

  > - 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?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5300

To: pulkit, #hg-reviewers
Cc: yuja, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to