comparison mercurial/cmdutil.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
comparison
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
3831 else: 3831 else:
3832 diff = patch.diff(repo, ctx.node(), None, m, opts=diffopts) 3832 diff = patch.diff(repo, ctx.node(), None, m, opts=diffopts)
3833 original_headers = patch.parsepatch(diff) 3833 original_headers = patch.parsepatch(diff)
3834 3834
3835 try: 3835 try:
3836
3836 chunks, opts = recordfilter( 3837 chunks, opts = recordfilter(
3837 repo.ui, original_headers, match, operation=operation 3838 repo.ui, original_headers, match, operation=operation
3838 ) 3839 )
3839 if operation == b'discard': 3840 if operation == b'discard':
3840 chunks = patch.reversehunks(chunks) 3841 chunks = patch.reversehunks(chunks)