changeset 36836:80da79b6fbe4

py3: fix integer formatting in bisect error
author Yuya Nishihara <yuya@tcha.org>
date Tue, 06 Mar 2018 07:10:50 -0600
parents 12492794bf8c
children 4eb3bf227ce7
files mercurial/hbisect.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hbisect.py	Sat Mar 10 16:55:54 2018 +0900
+++ b/mercurial/hbisect.py	Tue Mar 06 07:10:50 2018 -0600
@@ -55,7 +55,7 @@
         if (len(state['bad']) == 1 and len(state['good']) == 1 and
             state['bad'] != state['good']):
             raise error.Abort(_("starting revisions are not directly related"))
-        raise error.Abort(_("inconsistent state, %s:%s is good and bad")
+        raise error.Abort(_("inconsistent state, %d:%s is good and bad")
                          % (badrev, short(bad)))
 
     # build children dict