comparison mercurial/interfaces/repository.py @ 46712:e8c11a2c96c0

delta: add sidedata field to revision delta When emitting revision delta, we need to also emit the sidedata information just added in the revlogv2 format if appropriate. Differential Revision: https://phab.mercurial-scm.org/D10027
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 18 Feb 2021 18:18:35 +0100
parents 7a93b7b3dc2d
children bc2519513ae0
comparison
equal deleted inserted replaced
46711:a41565bef69f 46712:e8c11a2c96c0
449 delta = interfaceutil.Attribute( 449 delta = interfaceutil.Attribute(
450 """Delta between ``basenode`` and ``node``. 450 """Delta between ``basenode`` and ``node``.
451 451
452 Stored in the bdiff delta format. 452 Stored in the bdiff delta format.
453 """ 453 """
454 )
455
456 sidedata = interfaceutil.Attribute(
457 """Raw sidedata bytes for the given revision."""
454 ) 458 )
455 459
456 460
457 class ifilerevisionssequence(interfaceutil.Interface): 461 class ifilerevisionssequence(interfaceutil.Interface):
458 """Contains index data for all revisions of a file. 462 """Contains index data for all revisions of a file.