yuja added a comment. We can do `nodemod.hex(h.digest())` instead. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1481 To: indygreg, #hg-reviewers Cc: yuja, mercurial-devel