D5485: log: fixes line wrap on diffstat (issue5800)

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Tue Jan 1 22:52:32 EST 2019


yuja added a comment.


  Looks generally good.
  
  Can you add some tests with/without the -T option? There are two callers of
  _showpatch().
  
  > +        graphwidth = props.get('graphwidth')
  >  +        if not graphwidth:
  >  +            graphwidth = 0
  
  Nit: can be written as `props.get('graphwidth', 0)`.

REPOSITORY
  rHG Mercurial

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

To: navaneeth.suresh, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list