##// END OF EJS Templates
gpg: use an abort hint and don't mention --force
Matt Mackall -
r22683:f1872fdc default
parent child Browse files
Show More
@@ -256,9 +256,8 b' def sign(ui, repo, *revs, **opts):'
256 256 if not opts["force"]:
257 257 msigs = match.exact(repo.root, '', ['.hgsigs'])
258 258 if util.any(repo.status(match=msigs, unknown=True, ignored=True)):
259 raise util.Abort(_("working copy of .hgsigs is changed "
260 "(please commit .hgsigs manually "
261 "or use --force)"))
259 raise util.Abort(_("working copy of .hgsigs is changed "),
260 hint=_("please commit .hgsigs manually"))
262 261
263 262 sigsfile = repo.wfile(".hgsigs", "ab")
264 263 sigsfile.write(sigmessage)
General Comments 0
You need to be logged in to leave comments. Login now