# HG changeset patch # User Matt Harbison # Date 1618721769 14400 # Node ID 27602e030a1f1b53b88d5897716b9e83aed54478 # Parent 3c8e4c6ec9bc756c908d95e1f9b3cd368641cd5c incoming: use bytes for an error message Caught by pytype. Differential Revision: https://phab.mercurial-scm.org/D10461 diff -r 3c8e4c6ec9bc -r 27602e030a1f mercurial/hg.py --- a/mercurial/hg.py Wed Apr 21 10:58:42 2021 -0400 +++ b/mercurial/hg.py Sun Apr 18 00:56:09 2021 -0400 @@ -1272,7 +1272,7 @@ srcs = urlutil.get_pull_paths(repo, ui, [source], opts.get(b'branch')) srcs = list(srcs) if len(srcs) != 1: - msg = _('for now, incoming supports only a single source, %d provided') + msg = _(b'for now, incoming supports only a single source, %d provided') msg %= len(srcs) raise error.Abort(msg) source, branches = srcs[0]