Show More
@@ -256,9 +256,8 b' def sign(ui, repo, *revs, **opts):' | |||||
256 | if not opts["force"]: |
|
256 | if not opts["force"]: | |
257 | msigs = match.exact(repo.root, '', ['.hgsigs']) |
|
257 | msigs = match.exact(repo.root, '', ['.hgsigs']) | |
258 | if util.any(repo.status(match=msigs, unknown=True, ignored=True)): |
|
258 | if util.any(repo.status(match=msigs, unknown=True, ignored=True)): | |
259 | raise util.Abort(_("working copy of .hgsigs is changed " |
|
259 | raise util.Abort(_("working copy of .hgsigs is changed "), | |
260 |
|
|
260 | hint=_("please commit .hgsigs manually")) | |
261 | "or use --force)")) |
|
|||
262 |
|
261 | |||
263 | sigsfile = repo.wfile(".hgsigs", "ab") |
|
262 | sigsfile = repo.wfile(".hgsigs", "ab") | |
264 | sigsfile.write(sigmessage) |
|
263 | sigsfile.write(sigmessage) |
General Comments 0
You need to be logged in to leave comments.
Login now