changeset 5470:b0d309f64b6b stable

py3: use '%d' for formatting revision numbers in stable range cache warning
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 02 Aug 2020 12:02:09 +0800
parents f9a53fce3cf7
children da039e9be459
files CHANGELOG hgext3rd/evolve/stablerangecache.py
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG	Fri Jul 31 20:00:57 2020 +0800
+++ b/CHANGELOG	Sun Aug 02 12:02:09 2020 +0800
@@ -1,6 +1,12 @@
 Changelog
 =========
 
+10.0.2 - in progress
+--------------------
+
+  * py3: use '%d' for formatting revision numbers in stable range cache warning
+    (issue6390)
+
 10.0.1 -- 2020-07-31
 --------------------
 
--- a/hgext3rd/evolve/stablerangecache.py	Fri Jul 31 20:00:57 2020 +0800
+++ b/hgext3rd/evolve/stablerangecache.py	Sun Aug 02 12:02:09 2020 +0800
@@ -335,7 +335,7 @@
                 # to add. This will confuse sqlite
                 msg = _(b'stable-range cache: skipping write, '
                         b'database drifted under my feet\n')
-                hint = _(b'(disk: %s-%s vs mem: %s-%s)\n')
+                hint = _(b'(disk: %s-%d vs mem: %s-%d)\n')
                 data = (nodemod.hex(meta[2]), meta[1],
                         nodemod.hex(self._ondisktipnode), self._ondisktiprev)
                 repo.ui.warn(msg)