diff hgext/largefiles/lfcommands.py @ 34756:3f3c6d12095d

configitems: register the 'largefiles.patterns' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 13 Oct 2017 22:26:58 +0200
parents 08346a8fa65f
children b175e54c1103 4abfe4169259
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py	Fri Oct 13 22:26:03 2017 +0200
+++ b/hgext/largefiles/lfcommands.py	Fri Oct 13 22:26:58 2017 +0200
@@ -109,7 +109,7 @@
             lfiles = set()
             normalfiles = set()
             if not pats:
-                pats = ui.configlist(lfutil.longname, 'patterns', default=[])
+                pats = ui.configlist(lfutil.longname, 'patterns')
             if pats:
                 matcher = matchmod.match(rsrc.root, '', list(pats))
             else: