comparison hgext/show.py @ 34856:890afefa7296

diff: pass a diff hunks filter function from changeset_printer to patch.diff() We add a 'hunksfilterfn' keyword argument in all functions of the call stack from changeset_printer.show() to patch.diff(). This is a callable that will be used to filter out hunks by line range and will be used in the "-L/--line-range" option of "hg log" command introduced in the following changesets.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Fri, 06 Oct 2017 14:45:17 +0200
parents 592a3cc1ebc4
children 317566f0c2e6
comparison
equal deleted inserted replaced
34855:35c6a54ec1ff 34856:890afefa7296