diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -21,7 +21,7 @@ nullrev, short, wdirfilenodeids, - wdirid, + wdirhex, ) from . import ( dagop, @@ -1324,7 +1324,7 @@ return self._repo.dirstate[key] not in "?r" def hex(self): - return hex(wdirid) + return wdirhex @propertycache def _parents(self):