mercurial/debugcommands.py
changeset 38972 4d992e3f10ba
parent 38829 7e7e2b2ff284
child 39062 efeeb73f54c3
equal deleted inserted replaced
38971:ee97f7a677f3 38972:4d992e3f10ba
   894      ('p', 'show-stage', [],
   894      ('p', 'show-stage', [],
   895       _('print parsed tree at the given stage'), _('NAME'))],
   895       _('print parsed tree at the given stage'), _('NAME'))],
   896     _('[-r REV] [--all-files] [OPTION]... FILESPEC'))
   896     _('[-r REV] [--all-files] [OPTION]... FILESPEC'))
   897 def debugfileset(ui, repo, expr, **opts):
   897 def debugfileset(ui, repo, expr, **opts):
   898     '''parse and apply a fileset specification'''
   898     '''parse and apply a fileset specification'''
       
   899     from . import fileset
       
   900     fileset.symbols # force import of fileset so we have predicates to optimize
   899     opts = pycompat.byteskwargs(opts)
   901     opts = pycompat.byteskwargs(opts)
   900     ctx = scmutil.revsingle(repo, opts.get('rev'), None)
   902     ctx = scmutil.revsingle(repo, opts.get('rev'), None)
   901 
   903 
   902     stages = [
   904     stages = [
   903         ('parsed', pycompat.identity),
   905         ('parsed', pycompat.identity),