mercurial/revlogutils/__init__.py
changeset 44034 ab595920de0e
parent 43579 9e1932eb41f9
child 47394 ac60a1366a49
equal deleted inserted replaced
44032:2d4cad94d08a 44034:ab595920de0e
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2 or any later version.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 from __future__ import absolute_import
     8 from __future__ import absolute_import
     9 from .. import error
       
    10 
       
    11 
       
    12 class NodeMap(dict):
       
    13     def __missing__(self, x):
       
    14         raise error.RevlogError(b'unknown node: %s' % x)