# HG changeset patch # User Matt Harbison # Date 2023-01-05 22:09:41 # Node ID 564d360fc98e7e97c661fec0be9a5c104d5c6b8a # Parent a47e86e8fd5106f8ff9f2c1aac23267101b449cf largefiles: reference `mercurial.configitems.dynamicdefault` directly Pytype was unable to see `dynamicdefault` on `eh.configitem`. This is clearer anyway. diff --git a/hgext/largefiles/__init__.py b/hgext/largefiles/__init__.py --- a/hgext/largefiles/__init__.py +++ b/hgext/largefiles/__init__.py @@ -107,6 +107,7 @@ command. from mercurial import ( cmdutil, + configitems, extensions, exthelper, hg, @@ -135,7 +136,7 @@ eh.merge(proto.eh) eh.configitem( b'largefiles', b'minsize', - default=eh.configitem.dynamicdefault, + default=configitems.dynamicdefault, ) eh.configitem( b'largefiles',