Show More
@@ -6,7 +6,7 b'' | |||||
6 | # GNU General Public License version 2, incorporated herein by reference. |
|
6 | # GNU General Public License version 2, incorporated herein by reference. | |
7 |
|
7 | |||
8 | import os, tempfile, binascii |
|
8 | import os, tempfile, binascii | |
9 | from mercurial import util, commands |
|
9 | from mercurial import util, commands, match | |
10 | from mercurial import node as hgnode |
|
10 | from mercurial import node as hgnode | |
11 | from mercurial.i18n import _ |
|
11 | from mercurial.i18n import _ | |
12 |
|
12 | |||
@@ -255,7 +255,8 b' def sign(ui, repo, *revs, **opts):' | |||||
255 | % hgnode.short(n) |
|
255 | % hgnode.short(n) | |
256 | for n in nodes]) |
|
256 | for n in nodes]) | |
257 | try: |
|
257 | try: | |
258 | repo.commit([".hgsigs"], message, opts['user'], opts['date']) |
|
258 | m = match.exact(['.hgsigs']) | |
|
259 | repo.commit(None, message, opts['user'], opts['date'], match=m) | |||
259 | except ValueError, inst: |
|
260 | except ValueError, inst: | |
260 | raise util.Abort(str(inst)) |
|
261 | raise util.Abort(str(inst)) | |
261 |
|
262 |
General Comments 0
You need to be logged in to leave comments.
Login now