changeset 49248 | 63fd0282ad40 |
parent 49228 | b909dd35d9ab |
child 49249 | db19f6be0442 |
--- a/mercurial/debugcommands.py Mon May 30 00:45:00 2022 +0200 +++ b/mercurial/debugcommands.py Mon May 30 16:18:12 2022 +0200 @@ -2691,9 +2691,9 @@ # local repository. n = bin(s) if len(n) != repo.nodeconstants.nodelen: - raise TypeError() + raise ValueError return n - except TypeError: + except ValueError: raise error.InputError( b'changeset references must be full hexadecimal ' b'node identifiers'