diff -r 7fc87fa485e5 -r cd4db3999ef9 mercurial/commands.py --- 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