changeset 5132:fb5f49be3c90 stable

topic: use `%d` for integers instead of `%s` on py3 I have system mercurial using py3 which lead me to the traceback pointing to this.
author Pulkit Goyal <7895pulkit@gmail.com>
date Wed, 19 Feb 2020 13:13:09 +0530
parents 4da89a328119
children f93bf36d0c19
files hgext3rd/topic/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Sun Feb 02 13:40:13 2020 +0100
+++ b/hgext3rd/topic/__init__.py	Wed Feb 19 13:13:09 2020 +0530
@@ -559,7 +559,7 @@
                         msg = _(b"active topic '%s' grew its first changeset\n%s")
                         ui.status(msg % (ct, hint))
                     else:
-                        msg = _(b"active topic '%s' grew its %s first changesets\n%s")
+                        msg = _(b"active topic '%s' grew its %d first changesets\n%s")
                         ui.status(msg % (ct, csetcount, hint))
 
             tr.addpostclose(b'signalcurrenttopicempty', currenttopicempty)