mercurial/commands.py
changeset 14673 b0566467c492
parent 14671 35c2cc322ba8
child 14708 8083f4d00bd1
equal deleted inserted replaced
14672:785bbc8634f8 14673:b0566467c492
  1608 def debugfileset(ui, repo, expr):
  1608 def debugfileset(ui, repo, expr):
  1609     '''parse and apply a fileset specification'''
  1609     '''parse and apply a fileset specification'''
  1610     if ui.verbose:
  1610     if ui.verbose:
  1611         tree = fileset.parse(expr)[0]
  1611         tree = fileset.parse(expr)[0]
  1612         ui.note(tree, "\n")
  1612         ui.note(tree, "\n")
  1613     matcher = lambda x: scmutil.match(repo[None], x, default='glob')
  1613 
  1614 
  1614     for f in fileset.getfileset(repo[None], expr):
  1615     for f in fileset.getfileset(repo[None], matcher, expr):
       
  1616         ui.write("%s\n" % f)
  1615         ui.write("%s\n" % f)
  1617 
  1616 
  1618 @command('debugfsinfo', [], _('[PATH]'))
  1617 @command('debugfsinfo', [], _('[PATH]'))
  1619 def debugfsinfo(ui, path = "."):
  1618 def debugfsinfo(ui, path = "."):
  1620     """show information detected about current filesystem"""
  1619     """show information detected about current filesystem"""