# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-02-28 16:15:15 # Node ID a6e9a360ccd89d64514aa163bd94ec855989d998 # Parent 035b77bf01d27bc5d99849922f8f092baf9e34b1 py3: use '%d' for integers instead of b'%s' Differential Revision: https://phab.mercurial-scm.org/D2502 diff --git a/hgext/rebase.py b/hgext/rebase.py --- a/hgext/rebase.py +++ b/hgext/rebase.py @@ -1036,7 +1036,7 @@ def externalparent(repo, state, destance return nullrev if len(parents) == 1: return parents.pop() - raise error.Abort(_('unable to collapse on top of %s, there is more ' + raise error.Abort(_('unable to collapse on top of %d, there is more ' 'than one external parent: %s') % (max(destancestors), ', '.join("%d" % p for p in sorted(parents))))