Mercurial > hg-stable
changeset 49934:564d360fc98e
largefiles: reference `mercurial.configitems.dynamicdefault` directly
Pytype was unable to see `dynamicdefault` on `eh.configitem`. This is clearer
anyway.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 05 Jan 2023 17:09:41 -0500 |
parents | a47e86e8fd51 |
children | e63ab79b2fa1 |
files | hgext/largefiles/__init__.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/largefiles/__init__.py Thu Jan 05 17:04:16 2023 -0500 +++ b/hgext/largefiles/__init__.py Thu Jan 05 17:09:41 2023 -0500 @@ -107,6 +107,7 @@ from mercurial import ( cmdutil, + configitems, extensions, exthelper, hg, @@ -135,7 +136,7 @@ eh.configitem( b'largefiles', b'minsize', - default=eh.configitem.dynamicdefault, + default=configitems.dynamicdefault, ) eh.configitem( b'largefiles',