mercurial/cmdutil.py
changeset 51690 493034cc3265
parent 51555 15e680a44502
child 51700 7f0cb9ee0534
equal deleted inserted replaced
51689:39e2b2d062c1 51690:493034cc3265
  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)