diff --git a/hgext/gpg.py b/hgext/gpg.py
index 8bf6eb68ddaf1e6b8fa9247d9071f9458e66a6b6_aGdleHQvZ3BnLnB5..38305de95f1dace2ae8f3dbea95a7180a74818ca_aGdleHQvZ3BnLnB5 100644
--- a/hgext/gpg.py
+++ b/hgext/gpg.py
@@ -255,7 +255,7 @@
                              % hgnode.short(n)
                              for n in nodes])
     try:
-        m = match.exact(['.hgsigs'])
+        m = match.exact(repo.root, '', ['.hgsigs'])
         repo.commit(message, opts['user'], opts['date'], match=m)
     except ValueError, inst:
         raise util.Abort(str(inst))