yuja added a comment.

  >   def charnum(count):
  > 
  > - return int(round(count * width // maxcount)) +        return int(count * 
width // maxcount)
  
  We're doing floating-point division as `maxcount` is float.

REPOSITORY
  rHG Mercurial

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

To: durin42, #hg-reviewers, pulkit
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