--- a/hgext/extdiff.py Mon May 12 11:37:07 2008 -0500
+++ b/hgext/extdiff.py Mon May 12 11:37:07 2008 -0500
@@ -121,9 +121,9 @@
- just invoke the diff for a single file in the working dir
'''
node1, node2 = cmdutil.revpair(repo, opts['rev'])
- files, matchfn, anypats = cmdutil.matchpats(repo, pats, opts)
+ matcher = cmdutil.match(repo, pats, opts)
modified, added, removed, deleted, unknown = repo.status(
- node1, node2, files, match=matchfn)[:5]
+ node1, node2, matcher.files(), match=matcher)[:5]
if not (modified or added or removed):
return 0