hgext/fix.py
changeset 42653 9ed63cd0026c
parent 42194 0da689a60163
child 42655 2987d015aba4
--- a/hgext/fix.py	Tue Jul 23 15:01:28 2019 -0400
+++ b/hgext/fix.py	Wed Jul 24 16:22:45 2019 -0700
@@ -152,7 +152,6 @@
 FIXER_ATTRS = {
     'command': None,
     'linerange': None,
-    'fileset': None,
     'pattern': None,
     'priority': 0,
     'metadata': False,
@@ -702,10 +701,6 @@
     for name in fixernames(ui):
         fixers[name] = Fixer()
         attrs = ui.configsuboptions('fix', name)[1]
-        if 'fileset' in attrs and 'pattern' not in attrs:
-            ui.warn(_('the fix.tool:fileset config name is deprecated; '
-                      'please rename it to fix.tool:pattern\n'))
-            attrs['pattern'] = attrs['fileset']
         for key, default in FIXER_ATTRS.items():
             setattr(fixers[name], pycompat.sysstr('_' + key),
                     attrs.get(key, default))