changeset 47041 | a407fe56d6e8 |
parent 46966 | 1e2f2c782928 |
child 47275 | ba673c821b9d |
--- a/mercurial/revset.py Mon May 03 02:33:00 2021 +0200 +++ b/mercurial/revset.py Fri Apr 30 03:09:16 2021 +0200 @@ -1724,7 +1724,7 @@ def _node(repo, n): """process a node input""" rn = None - if len(n) == 40: + if len(n) == 2 * repo.nodeconstants.nodelen: try: rn = repo.changelog.rev(bin(n)) except error.WdirUnsupported: