# HG changeset patch
# User Yuya Nishihara <y...@tcha.org>
# Date 1520341850 21600
#      Tue Mar 06 07:10:50 2018 -0600
# Node ID f4f4de07f3d1cd9c9bf3ca94adce78e8b4ae446e
# Parent  7742cc1155b78a819ee1ecce7783c36bec42548e
py3: fix integer formatting in bisect error

diff --git a/mercurial/hbisect.py b/mercurial/hbisect.py
--- a/mercurial/hbisect.py
+++ b/mercurial/hbisect.py
@@ -55,7 +55,7 @@ def bisect(repo, state):
         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
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to