equal
deleted
inserted
replaced
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 |
|
3837 chunks, opts = recordfilter( |
3836 chunks, opts = recordfilter( |
3838 repo.ui, original_headers, match, operation=operation |
3837 repo.ui, original_headers, match, operation=operation |
3839 ) |
3838 ) |
3840 if operation == b'discard': |
3839 if operation == b'discard': |
3841 chunks = patch.reversehunks(chunks) |
3840 chunks = patch.reversehunks(chunks) |