mercurial/commands.py
changeset 6599 cd4db3999ef9
parent 6594 fca1688f0459
child 6600 b822a379860b
--- a/mercurial/commands.py	Mon May 12 11:37:08 2008 -0500
+++ b/mercurial/commands.py	Mon May 12 11:37:08 2008 -0500
@@ -2363,7 +2363,8 @@
             if abs not in names:
                 names[abs] = m.rel(abs), m.exact(abs)
 
-        changes = repo.status(files=files, match=names.has_key)[:4]
+        m = cmdutil.matchfiles(repo, names)
+        changes = repo.status(files=m.files(), match=m)[:4]
         modified, added, removed, deleted = map(dict.fromkeys, changes)
 
         # if f is a rename, also revert the source