comparison tests/test-import-git.t @ 31666:aaebc80c9f1d

hgweb: add a 'linerange' parameter to webutil.diffs() This is used to filter out hunks based on their range (with respect to 'node2' for patch.diffhunks() call, i.e. 'ctx' for webutil.diffs()). This is the simplest way to filter diff hunks, here done on server side. Later on, it might be interesting to perform this filtering on client side and expose a "toggle" action to alternate between full and filtered diff.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Mon, 13 Mar 2017 15:15:49 +0100
parents c64926b365b6
children 4441705b7111
comparison
equal deleted inserted replaced
31665:5e6d44511317 31666:aaebc80c9f1d