--- a/hgkw/keyword.py Tue Jun 14 20:35:21 2011 +0200
+++ b/hgkw/keyword.py Mon Jun 20 12:02:52 2011 +0200
@@ -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'))