D7312: revlog: introduce an explicit NodeMap class for pure code
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Sun Nov 10 04:45:18 EST 2019
yuja added a comment.
> +class NodeMap(dict):
> + def __missing__(self, x):
> + raise error.RevlogError('unknown node: %s' % x)
Missed `b''` and `node.hex|short()`?
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7312/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7312
To: marmoute, indygreg, #hg-reviewers
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list