hgext/keyword.py
changeset 14671 35c2cc322ba8
parent 14566 d0c2cc11e611
child 14835 ec4d4114e7fe
child 15070 e4c65158b5e7
--- a/hgext/keyword.py	Sat Jun 18 16:52:51 2011 -0500
+++ b/hgext/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'))