--- a/mercurial/dagparser.py Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/dagparser.py Tue Oct 08 15:06:18 2019 -0700
@@ -275,7 +275,7 @@
i += 1
c = nextch()
raise error.Abort(
- _(b'invalid character in dag description: ' b'%s...') % s
+ _(b'invalid character in dag description: %s...') % s
)
@@ -381,7 +381,7 @@
yield b'\n'
else:
raise error.Abort(
- _(b"invalid event type in dag: " b"('%s', '%s')")
+ _(b"invalid event type in dag: ('%s', '%s')")
% (
stringutil.escapestr(kind),
stringutil.escapestr(data),