hgkw/keyword.py
branchstable
changeset 968 8d821e2fed38
parent 964 aaafe06aaa5f
child 973 82015736cc7e
--- a/hgkw/keyword.py	Sun Jun 12 17:26:20 2011 +0300
+++ b/hgkw/keyword.py	Sat Jun 18 16:52:51 2011 -0500
@@ -326,7 +326,7 @@
     '''Bails out if [keyword] configuration is not active.
     Returns status of working directory.'''
     if kwt:
-        return repo.status(match=scmutil.match(repo, pats, opts), clean=True,
+        return repo.status(match=scmutil.match(repo[None], pats, opts), clean=True,
                            unknown=opts.get('unknown') or opts.get('all'))
     if ui.configitems('keyword'):
         raise util.Abort(_('[keyword] patterns cannot match'))