mercurial/repository.py
changeset 39998 44c98cbc665f
parent 39997 2f80eaf38ed4
child 40002 0e8836be9541
equal deleted inserted replaced
39997:2f80eaf38ed4 39998:44c98cbc665f
   543         """Obtain the fulltext size of file data.
   543         """Obtain the fulltext size of file data.
   544 
   544 
   545         Any metadata is excluded from size measurements.
   545         Any metadata is excluded from size measurements.
   546         """
   546         """
   547 
   547 
   548     def checkhash(fulltext, node, p1=None, p2=None, rev=None):
       
   549         """Validate the stored hash of a given fulltext and node.
       
   550 
       
   551         Raises ``error.StorageError`` is hash validation fails.
       
   552         """
       
   553 
       
   554     def revision(node, raw=False):
   548     def revision(node, raw=False):
   555         """"Obtain fulltext data for a node.
   549         """"Obtain fulltext data for a node.
   556 
   550 
   557         By default, any storage transformations are applied before the data
   551         By default, any storage transformations are applied before the data
   558         is returned. If ``raw`` is True, non-raw storage transformations
   552         is returned. If ``raw`` is True, non-raw storage transformations