mercurial/repository.py
changeset 39241 aad4b46e89bb
parent 39240 2af6b2d8d1d8
child 39244 73cf21b2e8a6
equal deleted inserted replaced
39240:2af6b2d8d1d8 39241:aad4b46e89bb
  1030         """Obtain the revision number for a binary node.
  1030         """Obtain the revision number for a binary node.
  1031 
  1031 
  1032         Raises ``error.LookupError`` if the node is not known.
  1032         Raises ``error.LookupError`` if the node is not known.
  1033         """
  1033         """
  1034 
  1034 
  1035     def addgroup(deltas, linkmapper, transaction):
       
  1036         """Process a series of deltas for storage.
       
  1037 
       
  1038         ``deltas`` is an iterable of 7-tuples of
       
  1039         (node, p1, p2, linknode, deltabase, delta, flags) defining revisions
       
  1040         to add.
       
  1041 
       
  1042         The ``delta`` field contains ``mpatch`` data to apply to a base
       
  1043         revision, identified by ``deltabase``. The base node can be
       
  1044         ``nullid``, in which case the header from the delta can be ignored
       
  1045         and the delta used as the fulltext.
       
  1046 
       
  1047         Returns a list of nodes that were processed. A node will be in the list
       
  1048         even if it existed in the store previously.
       
  1049         """
       
  1050 
       
  1051 class completelocalrepository(interfaceutil.Interface):
  1035 class completelocalrepository(interfaceutil.Interface):
  1052     """Monolithic interface for local repositories.
  1036     """Monolithic interface for local repositories.
  1053 
  1037 
  1054     This currently captures the reality of things - not how things should be.
  1038     This currently captures the reality of things - not how things should be.
  1055     """
  1039     """