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

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Sep 14 21:42:39 UTC 2018


pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/convert/monotone.py

CHANGE DETAILS

diff --git a/hgext/convert/monotone.py b/hgext/convert/monotone.py
--- a/hgext/convert/monotone.py
+++ b/hgext/convert/monotone.py
@@ -345,7 +345,7 @@
 
         if version >= 12.0:
             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)
 
             # launch the long-running automate stdio process



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


More information about the Mercurial-devel mailing list