comparison mercurial/pure/parsers.py @ 51699:ca7bde5dbafb

black: format the codebase with 23.3.0 The CI has moved to 23.3.0, which is the last version that supports 3.7 at runtime, so we should honor this change. # skip-blame mass-reformating only
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 18 Jul 2024 12:36:12 +0200
parents 7f0cb9ee0534
children 278af66e6595
comparison
equal deleted inserted replaced
51698:b0a4de6c14f8 51699:ca7bde5dbafb
909 & 3, 909 & 3,
910 items[revlog_constants.INDEX_ENTRY_V2_IDX_RANK], 910 items[revlog_constants.INDEX_ENTRY_V2_IDX_RANK],
911 ) 911 )
912 912
913 def _pack_entry(self, rev, entry): 913 def _pack_entry(self, rev, entry):
914
915 base = entry[revlog_constants.ENTRY_DELTA_BASE] 914 base = entry[revlog_constants.ENTRY_DELTA_BASE]
916 link_rev = entry[revlog_constants.ENTRY_LINK_REV] 915 link_rev = entry[revlog_constants.ENTRY_LINK_REV]
917 assert base == rev, (base, rev) 916 assert base == rev, (base, rev)
918 assert link_rev == rev, (link_rev, rev) 917 assert link_rev == rev, (link_rev, rev)
919 data = ( 918 data = (