--- a/mercurial/state.py Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/state.py Tue Oct 08 15:06:18 2019 -0700
@@ -60,7 +60,7 @@
"""
if not isinstance(version, int):
raise error.ProgrammingError(
- b"version of state file should be" b" an integer"
+ b"version of state file should be an integer"
)
with self._repo.vfs(self.fname, b'wb', atomictemp=True) as fp:
@@ -76,7 +76,7 @@
int(fp.readline())
except ValueError:
raise error.CorruptedState(
- b"unknown version of state file" b" found"
+ b"unknown version of state file found"
)
return cborutil.decodeall(fp.read())[0]