D4592: py3: use "%f" for floats instead of "%s"

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Sep 14 20:11:40 EDT 2018


yuja added a comment.


  >   self.automatestdio = True
  > 
  > - self.ui.debug("mtn automate version %s - using automate stdio\n" % +            self.ui.debug("mtn automate version %f - using automate stdio\n" % version)
  
  '%s' had a cleverness that the shortest accurate form is computed.
  We'll have to use `bytestr()` or `'%r'` instead.

REPOSITORY
  rHG Mercurial

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

To: pulkit, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list