[PATCH 04 of 11] hgweb: handle a "linerange" request parameter in filelog command

Yuya Nishihara yuya at tcha.org
Thu Feb 23 09:54:26 EST 2017


On Wed, 22 Feb 2017 16:09:58 +0100, Denis Laxalde wrote:
> # HG changeset patch
> # User Denis Laxalde <denis.laxalde at logilab.fr>
> # Date 1484844060 -3600
> #      Thu Jan 19 17:41:00 2017 +0100
> # Node ID 4d83e067c9c6e0f5fb7b126a9739aa9dd8113af4
> # Parent  0a725b74eeb2a8eca6d1d82ba8ec8c2d188e8684
> # EXP-Topic linerange-log/hgweb-filelog
> hgweb: handle a "linerange" request parameter in filelog command
> 
> We now handle a "linerange" URL query parameter to filter filelog using
> a logic similar to followlines() revset.
> The URL syntax is: log/<rev>/<file>?linerange=<fromline>-<toline>

Nit: how about copying the <fromline>:<toline> syntax from revset?


More information about the Mercurial-devel mailing list