Mercurial > hg
diff hgext/largefiles/__init__.py @ 49852: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 | 6000f5b25c9b |
children | bf92386f76fd |
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',