diff -r 42e2c7c52e1b -r 21cc92fea2aa mercurial/context.py --- a/mercurial/context.py Wed Mar 13 11:30:04 2019 -0700 +++ b/mercurial/context.py Fri Mar 15 22:18:35 2019 -0700 @@ -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):