[PATCH STABLE] convert: avoid wrong lfconvert defaults by moving configitems to core

Yuya Nishihara yuya at tcha.org
Sun Nov 26 05:22:23 EST 2017


On Sat, 25 Nov 2017 22:51:12 -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1511667169 18000
> #      Sat Nov 25 22:32:49 2017 -0500
> # Branch stable
> # Node ID a2a5049f83d484eafcef2372a57ce02737a398d8
> # Parent  02845f7441aff30bc01975a5881cabfa922c12d4
> convert: avoid wrong lfconvert defaults by moving configitems to core

> +coreconfigitem('convert', 'p4.encoding',
> +    default=lambda: convcmd.orig_encoding,
> +)

Missing attribute here. Perhaps this has to be a dynamicdefault and resolved
in convert/p4.py.


More information about the Mercurial-devel mailing list