changeset 47012 | d55b71393907 |
parent 46819 | d4ba4d51f85f |
child 47041 | a407fe56d6e8 |
--- a/mercurial/templatefuncs.py Mon Apr 19 20:38:52 2021 -0400 +++ b/mercurial/templatefuncs.py Mon Mar 29 01:52:06 2021 +0200 @@ -10,10 +10,7 @@ import re from .i18n import _ -from .node import ( - bin, - wdirid, -) +from .node import bin from . import ( color, dagop, @@ -778,7 +775,7 @@ try: node = scmutil.resolvehexnodeidprefix(repo, hexnode) except error.WdirUnsupported: - node = wdirid + node = repo.nodeconstants.wdirid except error.LookupError: return hexnode if not node: