[PATCH] bisect: fix format specifiers for integers

Cédric Duval cedricduval at free.fr
Wed Jul 1 16:17:36 CDT 2009


# HG changeset patch
# User Cédric Duval <cedricduval at free.fr>
# Date 1246482926 -7200
# Node ID 46b99d73e30e0bde2d4a364db1bfbbd974c7187d
# Parent  196d40e7c885fa6e95f89134809b3ec7bdbca34b
bisect: fix format specifiers for integers

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -396,8 +396,8 @@
         while size <= changesets:
             tests, size = tests + 1, size * 2
         rev = repo.changelog.rev(node)
-        ui.write(_("Testing changeset %s:%s "
-                   "(%s changesets remaining, ~%s tests)\n")
+        ui.write(_("Testing changeset %d:%s "
+                   "(%d changesets remaining, ~%d tests)\n")
                  % (rev, short(node), changesets, tests))
         if not noupdate:
             cmdutil.bail_if_changed(repo)



More information about the Mercurial-devel mailing list