[PATCH 1 of 7 V3] hgweb: drop "parity" from webutil.diffs arguments

Denis Laxalde denis at laxalde.org
Thu Mar 23 12:43:26 EDT 2017


Augie Fackler a écrit :
> On Wed, Mar 22, 2017 at 11:37:26AM +0100, Denis Laxalde wrote:
>> # HG changeset patch
>> # User Denis Laxalde <denis.laxalde at logilab.fr>
>> # Date 1489398019 -3600
>> #      Mon Mar 13 10:40:19 2017 +0100
>> # Node ID 2620dc84c013ab9d60d9327aa33435936bd25a01
>> # Parent  527a247f114f8af37326805fd6cce923f9ac6453
>> # Available At http://hg.logilab.org/users/dlaxalde/hg
>> #              hg pull http://hg.logilab.org/users/dlaxalde/hg -r 2620dc84c013
>> # EXP-Topic linerange-log/hgweb-filelog
>> hgweb: drop "parity" from webutil.diffs arguments
> From mercurial/templates/spartan/map:
> diffblock = '<pre class="parity{parity}">{lines}</pre>'
>
> So I don't think this is unused?
>

You're right. I will change this in a V4 so that "parity" is computed
inside the function.


More information about the Mercurial-devel mailing list