comparison mercurial/revlogutils/deltas.py @ 48564:c514936d92b4

revlog: remove deprecated APIs Differential Revision: https://phab.mercurial-scm.org/D11951
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 23 Dec 2021 14:48:31 +0100
parents f8330a3fc39f
children 6000f5b25c9b
comparison
equal deleted inserted replaced
48563:75fc2537d93c 48564:c514936d92b4
524 ): 524 ):
525 fulltext = delta[hlen:] 525 fulltext = delta[hlen:]
526 else: 526 else:
527 # deltabase is rawtext before changed by flag processors, which is 527 # deltabase is rawtext before changed by flag processors, which is
528 # equivalent to non-raw text 528 # equivalent to non-raw text
529 basetext = revlog.revision(baserev, _df=fh, raw=False) 529 basetext = revlog.revision(baserev, _df=fh)
530 fulltext = mdiff.patch(basetext, delta) 530 fulltext = mdiff.patch(basetext, delta)
531 531
532 try: 532 try:
533 validatehash = flagutil.processflagsraw(revlog, fulltext, flags) 533 validatehash = flagutil.processflagsraw(revlog, fulltext, flags)
534 if validatehash: 534 if validatehash: