##// END OF EJS Templates
upgrade: byteify an i18n message...
Matt Harbison -
r48564:6b9ad3a0 stable
parent child Browse files
Show More
@@ -66,7 +66,7 b' def _revlogfrompath(repo, rl_type, path)'
66 # drop the extension and the `data/` prefix
66 # drop the extension and the `data/` prefix
67 path_part = path.rsplit(b'.', 1)[0].split(b'/', 1)
67 path_part = path.rsplit(b'.', 1)[0].split(b'/', 1)
68 if len(path_part) < 2:
68 if len(path_part) < 2:
69 msg = _('cannot recognize revlog from filename: %s')
69 msg = _(b'cannot recognize revlog from filename: %s')
70 msg %= path
70 msg %= path
71 raise error.Abort(msg)
71 raise error.Abort(msg)
72 path = path_part[1]
72 path = path_part[1]
General Comments 0
You need to be logged in to leave comments. Login now