py3: fix integer formatting in bisect error
authorYuya Nishihara <yuya@tcha.org>
Tue, 06 Mar 2018 07:10:50 -0600
changeset 36828 80da79b6fbe4
parent 36827 12492794bf8c
child 36829 4eb3bf227ce7
py3: fix integer formatting in bisect error
mercurial/hbisect.py
--- 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