mercurial/error.py
changeset 24120 a450e0a2ba0a
parent 24040 7f375d2de945
child 24137 dcfdfd63bde4
equal deleted inserted replaced
24119:a5a06c9c7407 24120:a450e0a2ba0a
   139     """error raised when content verification fails on a censored node"""
   139     """error raised when content verification fails on a censored node"""
   140 
   140 
   141     def __init__(self, filename, node):
   141     def __init__(self, filename, node):
   142         from node import short
   142         from node import short
   143         RevlogError.__init__(self, '%s:%s' % (filename, short(node)))
   143         RevlogError.__init__(self, '%s:%s' % (filename, short(node)))
       
   144 
       
   145 class CensoredBaseError(RevlogError):
       
   146     """error raised when a delta is rejected because its base is censored
       
   147 
       
   148     A delta based on a censored revision must be formed as single patch
       
   149     operation which replaces the entire base with new content. This ensures
       
   150     the delta may be applied by clones which have not censored the base.
       
   151     """