changeset 52600 | cd7dcccc3327 |
parent 51859 | f4733654f144 |
child 52601 | 1756f5a788fd |
--- a/mercurial/archival.py Thu Jan 02 14:57:40 2025 +0100 +++ b/mercurial/archival.py Wed Dec 04 22:29:17 2024 -0500 @@ -56,7 +56,7 @@ prefix = util.normpath(prefix) else: if not isinstance(dest, bytes): - raise ValueError(b'dest must be string if no prefix') + raise ValueError('dest must be bytes if no prefix') prefix = os.path.basename(dest) lower = prefix.lower() for sfx in exts.get(kind, []):