mercurial/commands.py
changeset 14551 68d814a3cefd
parent 14548 cd1a01550ca2
child 14553 d976542986d2
--- a/mercurial/commands.py	Fri Jun 10 16:50:45 2011 +0200
+++ b/mercurial/commands.py	Wed Jun 08 13:44:41 2011 -0500
@@ -1603,6 +1603,10 @@
     if ui.verbose:
         tree = fileset.parse(expr)[0]
         ui.note(tree, "\n")
+    matcher = lambda x: scmutil.match(repo, x, default='glob')
+
+    for f in fileset.getfileset(repo[None], matcher, expr):
+        ui.write("%s\n" % f)
 
 @command('debugfsinfo', [], _('[PATH]'))
 def debugfsinfo(ui, path = "."):