view mercurial/revlogutils/__init__.py @ 43777:c8e9a3636abe

relnotes: add note about changes to match.{explicit,reverse}dir Differential Revision: https://phab.mercurial-scm.org/D7508
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 22 Nov 2019 11:08:59 -0800
parents 9e1932eb41f9
children ab595920de0e
line wrap: on
line source

# mercurial.revlogutils -- basic utilities for revlog
#
# Copyright 2019 Pierre-Yves David <pierre-yves.david@octobus.net>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.

from __future__ import absolute_import
from .. import error


class NodeMap(dict):
    def __missing__(self, x):
        raise error.RevlogError(b'unknown node: %s' % x)