Skip to content
Snippets Groups Projects
Commit 02a12835 authored by Matt Mackall's avatar Matt Mackall
Browse files

gpg: use match.exact rather than files for commit

parent a96b0490
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment