diff -r a96b049075a8 -r 02a12835b17e hgext/gpg.py --- a/hgext/gpg.py Mon Jun 01 13:51:21 2009 -0500 +++ b/hgext/gpg.py Mon Jun 01 13:51:21 2009 -0500 @@ -6,7 +6,7 @@ # GNU General Public License version 2, incorporated herein by reference. import os, tempfile, binascii -from mercurial import util, commands +from mercurial import util, commands, match from mercurial import node as hgnode from mercurial.i18n import _ @@ -255,7 +255,8 @@ % hgnode.short(n) for n in nodes]) try: - repo.commit([".hgsigs"], message, opts['user'], opts['date']) + m = match.exact(['.hgsigs']) + repo.commit(None, message, opts['user'], opts['date'], match=m) except ValueError, inst: raise util.Abort(str(inst))