Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Mon, 20 Jun 2011 12:02:52 +0200
changeset 969 1f47c6ec53d6
parent 967 2bb39e460186 (current diff)
parent 968 8d821e2fed38 (diff)
child 972 0d4e44410b4d
Merge with stable
--- 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'))